summaryrefslogtreecommitdiffstats
path: root/databases/postgresql-libpq++/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql-libpq++/Makefile')
-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