aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/miniupnpc/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/miniupnpc/Makefile b/net/miniupnpc/Makefile
index 3bbc2eb17796..e7e45183e736 100644
--- a/net/miniupnpc/Makefile
+++ b/net/miniupnpc/Makefile
@@ -15,13 +15,10 @@ COMMENT= UPnP IGD client lightweight library
USE_GMAKE= yes
MAKE_ENV+= INSTALLPREFIX=${PREFIX}
+CFLAGS+= -fPIC
USE_LDCONFIG= yes
MAN3= miniupnpc.3
-post-configure:
- ${REINPLACE_CMD} -e 's|--mode=|-m |' -e 's|--symbolic|-s|' \
- -e 's| -Wall | -Wall -fPIC |' -e 's|--force|-f|' ${WRKSRC}/Makefile
-
post-install:
${INSTALL_MAN} ${WRKSRC}/man3/miniupnpc.3 ${PREFIX}/man/man3/