aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2009-08-03 10:03:08 +0800
committerdinoex <dinoex@FreeBSD.org>2009-08-03 10:03:08 +0800
commit8131bf5156ef857548aefe9f95858d5d632bad63 (patch)
tree3eb11ee114a11de02aa957a4128227f5447e5d98
parentae2d9b6b4d498dd29cbb0b88006b47cd012ba3de (diff)
downloadfreebsd-ports-gnome-8131bf5156ef857548aefe9f95858d5d632bad63.tar.gz
freebsd-ports-gnome-8131bf5156ef857548aefe9f95858d5d632bad63.tar.zst
freebsd-ports-gnome-8131bf5156ef857548aefe9f95858d5d632bad63.zip
- fix build on amd64
-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/