aboutsummaryrefslogtreecommitdiffstats
path: root/math/octave-forge-xraylib
diff options
context:
space:
mode:
authorstephen <stephen@FreeBSD.org>2014-01-12 23:20:47 +0800
committerstephen <stephen@FreeBSD.org>2014-01-12 23:20:47 +0800
commite13e265de836ebeff0e13046e4779a9899b91e4e (patch)
tree4bd68bfc34efe82ab1921b50e29560f42f55f2cc /math/octave-forge-xraylib
parenta5924c36d72a2c3c2bdc4a6ed4353bff5da2d0e5 (diff)
downloadfreebsd-ports-gnome-e13e265de836ebeff0e13046e4779a9899b91e4e.tar.gz
freebsd-ports-gnome-e13e265de836ebeff0e13046e4779a9899b91e4e.tar.zst
freebsd-ports-gnome-e13e265de836ebeff0e13046e4779a9899b91e4e.zip
- Better way to make build work with FreeBSD-10.
Reported by: Baptiste Daroussin <bapt@FreeBSD.org>
Diffstat (limited to 'math/octave-forge-xraylib')
-rw-r--r--math/octave-forge-xraylib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/octave-forge-xraylib/Makefile b/math/octave-forge-xraylib/Makefile
index ae65c86eee2a..6160ad97ac66 100644
--- a/math/octave-forge-xraylib/Makefile
+++ b/math/octave-forge-xraylib/Makefile
@@ -10,6 +10,7 @@ MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
GNU_CONFIGURE= yes
+MAKE_ARGS= CC="${CC}"
BUILD_DEPENDS+= bash:${PORTSDIR}/shells/bash
@@ -19,7 +20,6 @@ post-patch:
@${REINPLACE_CMD} s+/bin/bash+${LOCALBASE}/bin/bash+g ${WRKSRC}/src/xraylib/src/Makefile
@${REINPLACE_CMD} s+/bin/bash+${LOCALBASE}/bin/bash+g ${WRKSRC}/src/xraylib/bin/xraylib
@${REINPLACE_CMD} s+/bin/bash+${LOCALBASE}/bin/bash+g ${WRKSRC}/src/xraylib/*.sh
- @${REINPLACE_CMD} s/^CC/\#CC/ ${WRKSRC}/src/xraylib/src/Makefile
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
.include <bsd.port.mk>