Fix databases/slony1 to compile on FreeBSD 10.
PR: ports/186048 Submitted by: maintainer
This commit is contained in:
parent
8b223b0637
commit
f117aa1a4b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340895
1 changed files with 11 additions and 0 deletions
11
databases/slony1/files/patch-slonik-Makefile.patch
Normal file
11
databases/slony1/files/patch-slonik-Makefile.patch
Normal file
|
@ -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
|
Loading…
Reference in a new issue