aboutsummaryrefslogtreecommitdiff
path: root/net/miniupnpc
diff options
context:
space:
mode:
Diffstat (limited to 'net/miniupnpc')
-rw-r--r--net/miniupnpc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/miniupnpc/Makefile b/net/miniupnpc/Makefile
index 166755ee611d..d3a14534ab64 100644
--- a/net/miniupnpc/Makefile
+++ b/net/miniupnpc/Makefile
@@ -19,6 +19,7 @@ MAKE_ENV+= INSTALLPREFIX=${PREFIX}
USE_LDCONFIG= yes
post-configure:
- ${REINPLACE_CMD} -e 's|--mode=|-m |' -e 's|--symbolic|-s|' ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e 's|--mode=|-m |' -e 's|--symbolic|-s|' \
+ -e 's| -Wall | -Wall -fPIC |' ${WRKSRC}/Makefile
.include <bsd.port.mk>