aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2009-08-21 22:23:56 +0000
committerNicola Vitale <nivit@FreeBSD.org>2009-08-21 22:23:56 +0000
commit34d939427fb1eebfd57f4b9653fde4444aa3040c (patch)
tree50380d8d800bb5bbcce2ff5f5b1e732fbe7773a4 /math
parentc89d32e157ab32c057e46cc81e3eddfaa3fdc2e2 (diff)
downloadports-34d939427fb1eebfd57f4b9653fde4444aa3040c.tar.gz
ports-34d939427fb1eebfd57f4b9653fde4444aa3040c.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/muparser/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/math/muparser/Makefile b/math/muparser/Makefile
index 7a57122e6871..a5c5ccc423ad 100644
--- a/math/muparser/Makefile
+++ b/math/muparser/Makefile
@@ -7,6 +7,7 @@
PORTNAME= muparser
PORTVERSION= 1.30
+PORTREVISION= 1
CATEGORIES= math devel
MASTER_SITES= SF
DISTNAME= ${PORTNAME}_v130
@@ -28,6 +29,12 @@ USE_GMAKE= yes
WRKSRC= ${WRKDIR}/muparser
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
+CFLAGS+= -fPIC
+.endif
+
# taken from audio/taglib
post-patch:
@${REINPLACE_CMD} -e "s#\$$(libdir)/pkgconfig#${PREFIX}/libdata/pkgconfig#g" \
@@ -47,4 +54,4 @@ post-install:
${COPYTREE_SHARE} . ${EXAMPLESDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>