aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2014-01-24 21:54:14 +0800
committerolgeni <olgeni@FreeBSD.org>2014-01-24 21:54:14 +0800
commitcf8e2790cbbf3da41c9eca69373eef4ac4fae736 (patch)
tree3a5c2efec7e5b26c435868f2d632fab6bfe0015e
parentcd53105f330c5aa2fdd12da6579ae96aac11cbce (diff)
downloadfreebsd-ports-gnome-cf8e2790cbbf3da41c9eca69373eef4ac4fae736.tar.gz
freebsd-ports-gnome-cf8e2790cbbf3da41c9eca69373eef4ac4fae736.tar.zst
freebsd-ports-gnome-cf8e2790cbbf3da41c9eca69373eef4ac4fae736.zip
Fix databases/slony1 to compile on FreeBSD 10.
PR: ports/186048 Submitted by: maintainer
-rw-r--r--databases/slony1/files/patch-slonik-Makefile.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/slony1/files/patch-slonik-Makefile.patch b/databases/slony1/files/patch-slonik-Makefile.patch
new file mode 100644
index 000000000000..493aa11bfb2e
--- /dev/null
+++ b/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