aboutsummaryrefslogtreecommitdiffstats
path: root/math/octave-forge-xraylib
diff options
context:
space:
mode:
authorstephen <stephen@FreeBSD.org>2014-01-12 15:06:31 +0800
committerstephen <stephen@FreeBSD.org>2014-01-12 15:06:31 +0800
commit8341eda5d8cf188264d6f80a212b3a434e23529a (patch)
tree203b5a32fa072a19527b28791f12a8d32f875ffd /math/octave-forge-xraylib
parentc20752664aa9c272cf899b98e0019769c40671eb (diff)
downloadfreebsd-ports-gnome-8341eda5d8cf188264d6f80a212b3a434e23529a.tar.gz
freebsd-ports-gnome-8341eda5d8cf188264d6f80a212b3a434e23529a.tar.zst
freebsd-ports-gnome-8341eda5d8cf188264d6f80a212b3a434e23529a.zip
- Make build work with FreeBSD-10.
Reference: http://beefy1.isc.freebsd.org/bulk/10i386-quarterly/2014-01-08_01h06m10s/logs/octave-forge-xraylib-1.0.8_8.log Reported by: pkg-fallout@FreeBSD.org
Diffstat (limited to 'math/octave-forge-xraylib')
-rw-r--r--math/octave-forge-xraylib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/math/octave-forge-xraylib/Makefile b/math/octave-forge-xraylib/Makefile
index 08a079b24128..ae65c86eee2a 100644
--- a/math/octave-forge-xraylib/Makefile
+++ b/math/octave-forge-xraylib/Makefile
@@ -19,6 +19,7 @@ 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>