aboutsummaryrefslogtreecommitdiffstats
path: root/math/octave-forge-octproj
diff options
context:
space:
mode:
authorstephen <stephen@FreeBSD.org>2011-06-24 12:22:33 +0800
committerstephen <stephen@FreeBSD.org>2011-06-24 12:22:33 +0800
commit645e1da3fdb5e7c85a2ee4b1e064de07e797c9e9 (patch)
treec285e6905f2fa2813818771214eff28838995c34 /math/octave-forge-octproj
parent2a35d4fe1107cd7d552e963808295e08c3bd02f5 (diff)
downloadfreebsd-ports-gnome-645e1da3fdb5e7c85a2ee4b1e064de07e797c9e9.tar.gz
freebsd-ports-gnome-645e1da3fdb5e7c85a2ee4b1e064de07e797c9e9.tar.zst
freebsd-ports-gnome-645e1da3fdb5e7c85a2ee4b1e064de07e797c9e9.zip
- Bump portrevision because math/octave updated to 3.4.1
- Fix to work with math/octave-3.4.1 Approved by: maho (mentor)
Diffstat (limited to 'math/octave-forge-octproj')
-rw-r--r--math/octave-forge-octproj/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/math/octave-forge-octproj/Makefile b/math/octave-forge-octproj/Makefile
index 1cae98b09d66..076c53a28e1b 100644
--- a/math/octave-forge-octproj/Makefile
+++ b/math/octave-forge-octproj/Makefile
@@ -7,6 +7,7 @@
PORTNAME= octave-forge-octproj
PORTVERSION= 1.0.2
+PORTREVISION= 1
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
@@ -18,10 +19,11 @@ LIB_DEPENDS+= proj:${PORTSDIR}/graphics/proj
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk"
-post-extract:
- ${REINPLACE_CMD} s/CC/MKOCTFILE/ ${WRKSRC}/Makefile
+post-patch:
+ ${REINPLACE_CMD} -e s/CC/MKOCTFILE/ -e s/-Wall// -e s/-Wextra// ${WRKSRC}/Makefile
post-build:
+ ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME}
.include <bsd.port.post.mk>