summaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-02-01 12:48:03 +0000
committerarved <arved@FreeBSD.org>2004-02-01 12:48:03 +0000
commitf549f41fd413ab33901a2a0c60036844cbbf02e2 (patch)
treedb392a804c381a8ff6a1913deb3f281de0edbb08 /databases
parent1f56b869d09474798386aef39b947eb6d5e12979 (diff)
downloadFreeBSD-ports-f549f41fd413ab33901a2a0c60036844cbbf02e2.zip
FreeBSD-ports-f549f41fd413ab33901a2a0c60036844cbbf02e2.tar.gz
Fix build on AMD64
Approved by: Palle Girgensohn <girgen@pingpong.net>
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql-libpq++/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/databases/postgresql-libpq++/Makefile b/databases/postgresql-libpq++/Makefile
index 57a388b..3278cce 100644
--- a/databases/postgresql-libpq++/Makefile
+++ b/databases/postgresql-libpq++/Makefile
@@ -27,6 +27,7 @@ post-patch:
${REINPLACE_CMD} "s,/usr/local/pgsql,${PREFIX},; \
s,^CFLAGS.*,CFLAGS=${CFLAGS},; \
s,\...SO_MINOR_VERSION.,,; \
+ s,\-I,\-fPIC \-I,; \
s,\(\-[IL]\)[^/]*,\\1${LOCALBASE}," ${WRKSRC}/Makefile
.include <bsd.port.mk>
OpenPOWER on IntegriCloud