summaryrefslogtreecommitdiff
path: root/databases/postgresql-libpq++
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-02-01 12:48:03 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-02-01 12:48:03 +0000
commitc979e956547f4db0a76b93d8669d5581cb2857ad (patch)
tree216bc702e88bc286c62a1f976dc09a2eb771cc02 /databases/postgresql-libpq++
parent- Update MASTER_SITES (diff)
Fix build on AMD64
Approved by: Palle Girgensohn <girgen@pingpong.net>
Notes
Notes: svn path=/head/; revision=99688
Diffstat (limited to 'databases/postgresql-libpq++')
-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 57a388b08e7a..3278cce61c38 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>