aboutsummaryrefslogtreecommitdiff
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++
parentdaa88c43e98ff7250943a597c74fbdf8d72e359c (diff)
downloadports-c979e956547f4db0a76b93d8669d5581cb2857ad.tar.gz
ports-c979e956547f4db0a76b93d8669d5581cb2857ad.zip
Notes
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>