aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorstephen <stephen@FreeBSD.org>2016-01-13 09:41:27 +0800
committerstephen <stephen@FreeBSD.org>2016-01-13 09:41:27 +0800
commitc02ccb6de52939a6cb5f34fd9cfa516e523fb14a (patch)
treecc656f73ba066b1c4b332af4da7b5a317b76ffc3 /math
parent8d2b04dc27a27773e3369483b4449f6278c30a41 (diff)
downloadfreebsd-ports-gnome-c02ccb6de52939a6cb5f34fd9cfa516e523fb14a.tar.gz
freebsd-ports-gnome-c02ccb6de52939a6cb5f34fd9cfa516e523fb14a.tar.zst
freebsd-ports-gnome-c02ccb6de52939a6cb5f34fd9cfa516e523fb14a.zip
- Add patch so it builds with octave-4.0.0.
Diffstat (limited to 'math')
-rw-r--r--math/octave-forge-secs2d/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/math/octave-forge-secs2d/Makefile b/math/octave-forge-secs2d/Makefile
index c3aea3b59639..5c0702b41661 100644
--- a/math/octave-forge-secs2d/Makefile
+++ b/math/octave-forge-secs2d/Makefile
@@ -3,7 +3,7 @@
PORTNAME= octave-forge-secs2d
PORTVERSION= 0.0.8
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
@@ -14,5 +14,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
+post-patch:
+ ${REINPLACE_CMD} -E 's/Octave_map/octave_map/g' ${WRKSRC}/src/*.cc
+
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
.include <bsd.port.mk>