aboutsummaryrefslogtreecommitdiff
path: root/math/octave-forge-octclip
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2011-06-24 04:22:33 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2011-06-24 04:22:33 +0000
commitbb2b9e50f2e8d5e1ba7fb3824ce27db9f7f6566a (patch)
treef6577ffa2c1bfb44aa4197947f21d10e07208838 /math/octave-forge-octclip
parentb69f6da6bf098967fc147bc65b54d5e8e1c4fbd3 (diff)
downloadports-bb2b9e50f2e8d5e1ba7fb3824ce27db9f7f6566a.tar.gz
ports-bb2b9e50f2e8d5e1ba7fb3824ce27db9f7f6566a.zip
- Bump portrevision because math/octave updated to 3.4.1
- Fix to work with math/octave-3.4.1 Approved by: maho (mentor)
Notes
Notes: svn path=/head/; revision=276180
Diffstat (limited to 'math/octave-forge-octclip')
-rw-r--r--math/octave-forge-octclip/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/math/octave-forge-octclip/Makefile b/math/octave-forge-octclip/Makefile
index bdd116d98a83..2e42ef74a4e2 100644
--- a/math/octave-forge-octclip/Makefile
+++ b/math/octave-forge-octclip/Makefile
@@ -7,6 +7,7 @@
PORTNAME= octave-forge-octclip
PORTVERSION= 1.0.0
+PORTREVISION= 1
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
@@ -16,10 +17,11 @@ WRKSRC= ${WRKDIR}/${OCTAVE_PKGNAME}/src
.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>