diff options
author | nivit <nivit@FreeBSD.org> | 2009-08-22 06:23:56 +0800 |
---|---|---|
committer | nivit <nivit@FreeBSD.org> | 2009-08-22 06:23:56 +0800 |
commit | f1ec3a820450374541eb6382d4f3214b1852985a (patch) | |
tree | a21fd8dfc68d811957816839f0f3dce91a23beaf /math/muparser | |
parent | e4b64b40380be147ab55a18aea6f77a9c87efe92 (diff) | |
download | freebsd-ports-gnome-f1ec3a820450374541eb6382d4f3214b1852985a.tar.gz freebsd-ports-gnome-f1ec3a820450374541eb6382d4f3214b1852985a.tar.zst freebsd-ports-gnome-f1ec3a820450374541eb6382d4f3214b1852985a.zip |
- Add -fPIC to CFLAGS when ARCH equals to amd64 or ia64
- Bump PORTREVISION
PR: ports/138009
Submitted by: makc
Diffstat (limited to 'math/muparser')
-rw-r--r-- | math/muparser/Makefile | 9 |
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> |