aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorstephen <stephen@FreeBSD.org>2014-03-03 10:58:10 +0800
committerstephen <stephen@FreeBSD.org>2014-03-03 10:58:10 +0800
commit7ed0fc10cebe29d59b7b9f358d6047c4afa668eb (patch)
treea89bb24ec1b01c9ce88dde5746386840b1cd8702 /math
parent710f0632a302654311b01164e361385abd0e9309 (diff)
downloadfreebsd-ports-gnome-7ed0fc10cebe29d59b7b9f358d6047c4afa668eb.tar.gz
freebsd-ports-gnome-7ed0fc10cebe29d59b7b9f358d6047c4afa668eb.tar.zst
freebsd-ports-gnome-7ed0fc10cebe29d59b7b9f358d6047c4afa668eb.zip
- Patch Makefile.in because mkoctfile cannot handle the -B option included
in $(LDFLAGS).
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}