aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net-p2p/libpdtp/Makefile1
-rw-r--r--net/libpdtp/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/net-p2p/libpdtp/Makefile b/net-p2p/libpdtp/Makefile
index aaffd1f2b712..0d1924b1654e 100644
--- a/net-p2p/libpdtp/Makefile
+++ b/net-p2p/libpdtp/Makefile
@@ -18,6 +18,7 @@ COMMENT= Client library for Peer Distributed Transfer Protocol (PDTP)
WRKSRC= ${WRKDIR}/${PORTNAME}
HAS_CONFIGURE= yes
INSTALLS_SHLIB= yes
+CFLAGS+= -fpic
do-install:
${INSTALL_DATA} ${WRKSRC}/libpdtp.* ${PREFIX}/lib
diff --git a/net/libpdtp/Makefile b/net/libpdtp/Makefile
index aaffd1f2b712..0d1924b1654e 100644
--- a/net/libpdtp/Makefile
+++ b/net/libpdtp/Makefile
@@ -18,6 +18,7 @@ COMMENT= Client library for Peer Distributed Transfer Protocol (PDTP)
WRKSRC= ${WRKDIR}/${PORTNAME}
HAS_CONFIGURE= yes
INSTALLS_SHLIB= yes
+CFLAGS+= -fpic
do-install:
${INSTALL_DATA} ${WRKSRC}/libpdtp.* ${PREFIX}/lib