Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2014 14:22:08 -0500 (EST)
From:      Vick Khera <vivek@khera.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/186048: fix databases/slony1 to compile on FreeBSD 10.0
Message-ID:  <20140123192208.7BAFA8A016@yertle.kcilink.com>
Resent-Message-ID: <201401231930.s0NJU0xq099042@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140123192208.7BAFA8A016>