Bug 186048 - fix databases/slony1 to compile on FreeBSD 10.0
Summary: fix databases/slony1 to compile on FreeBSD 10.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-23 19:30 UTC by Vick Khera
Modified: 2014-03-05 19:00 UTC (History)
0 users

See Also:


Attachments
file.diff (659 bytes, patch)
2014-01-23 19:30 UTC, Vick Khera
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vick Khera 2014-01-23 19:30:00 UTC
	
fix the compilation of databases/slony1 on FreeBSD 10. It requires explicitly
linking -lintl using clang.
Comment 1 dfilter service freebsd_committer freebsd_triage 2014-01-24 13:54:22 UTC
Author: olgeni
Date: Fri Jan 24 13:54:14 2014
New Revision: 340895
URL: http://svnweb.freebsd.org/changeset/ports/340895
QAT: https://qat.redports.org/buildarchive/r340895/

Log:
  Fix databases/slony1 to compile on FreeBSD 10.
  
  PR:		ports/186048
  Submitted by:	maintainer

Added:
  head/databases/slony1/files/patch-slonik-Makefile.patch   (contents, props changed)

Added: head/databases/slony1/files/patch-slonik-Makefile.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/slony1/files/patch-slonik-Makefile.patch	Fri Jan 24 13:54:14 2014	(r340895)
@@ -0,0 +1,11 @@
+--- src/slonik/Makefile.orig	2014-01-23 14:14:12.352062131 -0500
++++ src/slonik/Makefile	2014-01-23 14:14:12.352750379 -0500
+@@ -18,7 +18,7 @@
+ 
+ CFLAGS += -I$(slony_top_builddir) -DPGSHARE="\"$(pgsharedir)\"" -DPG_VERSION_MAJOR=$(PG_VERSION_MAJOR)
+ ifneq ($(PG_VERSION_MAJOR), 7)
+-LDFLAGS += -lpgport
++LDFLAGS += `$(pgbindir)/pg_config --libs`
+ endif
+ 
+ PROG		= slonik
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 2 Jimmy Olgeni freebsd_committer freebsd_triage 2014-01-24 13:54:28 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-03-05 18:57:11 UTC
Author: rm
Date: Wed Mar  5 18:57:04 2014
New Revision: 347133
URL: http://svnweb.freebsd.org/changeset/ports/347133
QAT: https://qat.redports.org/buildarchive/r347133/

Log:
  MFH: r340895
  
  Fix databases/slony1 to compile on FreeBSD 10.
  
  PR:		ports/186048
  Submitted by:	maintainer
  Approved by:    portmgr (miwi)

Added:
  branches/2014Q1/databases/slony1/files/patch-slonik-Makefile.patch
     - copied unchanged from r340895, head/databases/slony1/files/patch-slonik-Makefile.patch
Modified:
Directory Properties:
  branches/2014Q1/   (props changed)

Copied: branches/2014Q1/databases/slony1/files/patch-slonik-Makefile.patch (from r340895, head/databases/slony1/files/patch-slonik-Makefile.patch)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2014Q1/databases/slony1/files/patch-slonik-Makefile.patch	Wed Mar  5 18:57:04 2014	(r347133, copy of r340895, head/databases/slony1/files/patch-slonik-Makefile.patch)
@@ -0,0 +1,11 @@
+--- src/slonik/Makefile.orig	2014-01-23 14:14:12.352062131 -0500
++++ src/slonik/Makefile	2014-01-23 14:14:12.352750379 -0500
+@@ -18,7 +18,7 @@
+ 
+ CFLAGS += -I$(slony_top_builddir) -DPGSHARE="\"$(pgsharedir)\"" -DPG_VERSION_MAJOR=$(PG_VERSION_MAJOR)
+ ifneq ($(PG_VERSION_MAJOR), 7)
+-LDFLAGS += -lpgport
++LDFLAGS += `$(pgbindir)/pg_config --libs`
+ endif
+ 
+ PROG		= slonik
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"