aboutsummaryrefslogtreecommitdiffstats
path: root/net/miniupnpc
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2008-01-28 11:58:53 +0800
committerdinoex <dinoex@FreeBSD.org>2008-01-28 11:58:53 +0800
commit108ffc784f21902b3f8d64f05648d7ca19119f63 (patch)
tree08734dce7d2af1e7c9af614845b6cb2e7bf0a3b4 /net/miniupnpc
parentef359c35c60544606ead44ff5ffca5ecdc807771 (diff)
downloadfreebsd-ports-gnome-108ffc784f21902b3f8d64f05648d7ca19119f63.tar.gz
freebsd-ports-gnome-108ffc784f21902b3f8d64f05648d7ca19119f63.tar.zst
freebsd-ports-gnome-108ffc784f21902b3f8d64f05648d7ca19119f63.zip
- fix build on non i386 arch
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>