aboutsummaryrefslogtreecommitdiff
path: root/net/miniupnpc
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2009-08-03 02:03:08 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2009-08-03 02:03:08 +0000
commit4bd9ef42f50f8edf07dbf5ef127a4d517d4f5485 (patch)
tree84a36fc9d76ed0bcafe40a53381c15032ca671d8 /net/miniupnpc
parenta6141ae4e3cb0436e66bb6f17cfaea8bbe9c730b (diff)
downloadports-4bd9ef42f50f8edf07dbf5ef127a4d517d4f5485.tar.gz
ports-4bd9ef42f50f8edf07dbf5ef127a4d517d4f5485.zip
- fix build on amd64
Notes
Notes: svn path=/head/; revision=238797
Diffstat (limited to 'net/miniupnpc')
-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/