summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2014-03-03 02:58:10 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2014-03-03 02:58:10 +0000
commit97ebe318693ac4fa7a6f6217e2ff7dc7bc78cf32 (patch)
treea89bb24ec1b01c9ce88dde5746386840b1cd8702 /math
parent- Stage support (diff)
- Patch Makefile.in because mkoctfile cannot handle the -B option included
in $(LDFLAGS).
Notes
Notes: svn path=/head/; revision=346849
Diffstat (limited to 'math')
-rw-r--r--math/octave-forge-msh/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/math/octave-forge-msh/Makefile b/math/octave-forge-msh/Makefile
index 0f3eda3ca5d0..73da67cb33c1 100644
--- a/math/octave-forge-msh/Makefile
+++ b/math/octave-forge-msh/Makefile
@@ -22,6 +22,9 @@ RUN_DEPENDS+= gmsh:${PORTSDIR}/cad/gmsh
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
+post-patch:
+ ${REINPLACE_CMD} 's/ $$(LDFLAGS)//' ${WRKSRC}/Makefile.in
+
post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}