svn commit: r339516 - head/math/octave-forge-xraylib
Stephen Montgomery-Smith
stephen at FreeBSD.org
Sun Jan 12 15:20:48 UTC 2014
Author: stephen
Date: Sun Jan 12 15:20:47 2014
New Revision: 339516
URL: http://svnweb.freebsd.org/changeset/ports/339516
Log:
- Better way to make build work with FreeBSD-10.
Reported by: Baptiste Daroussin <bapt at FreeBSD.org>
Modified:
head/math/octave-forge-xraylib/Makefile
Modified: head/math/octave-forge-xraylib/Makefile
==============================================================================
--- head/math/octave-forge-xraylib/Makefile Sun Jan 12 15:18:33 2014 (r339515)
+++ head/math/octave-forge-xraylib/Makefile Sun Jan 12 15:20:47 2014 (r339516)
@@ -10,6 +10,7 @@ MAINTAINER= stephen at 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>
More information about the svn-ports-all
mailing list