ports/186048: fix databases/slony1 to compile on FreeBSD 10.0

Vick Khera vivek at khera.org
Thu Jan 23 19:30:00 UTC 2014


>Number:         186048
>Category:       ports
>Synopsis:       fix databases/slony1 to compile on FreeBSD 10.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 23 19:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Vick Khera
>Release:        FreeBSD 9.2-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD yertle.int.kcilink.com 9.2-RELEASE-p2 FreeBSD 9.2-RELEASE-p2 #3 r260368:260392: Tue Jan 7 08:20:09 EST 2014 khera at yertle.int.kcilink.com:/usr/obj/u/yertle1/sources/usr9/src/sys/KCI64 amd64


	
>Description:
	
fix the compilation of databases/slony1 on FreeBSD 10. It requires explicitly
linking -lintl using clang.

>How-To-Repeat:
	
>Fix:

	


diff -Nru slony1.old/files/patch-slonik-Makefile.patch slony1/files/patch-slonik-Makefile.patch
--- slony1.old/files/patch-slonik-Makefile.patch	1969-12-31 19:00:00.000000000 -0500
+++ slony1/files/patch-slonik-Makefile.patch	2014-01-23 14:15:47.921287163 -0500
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list