From bb2b9e50f2e8d5e1ba7fb3824ce27db9f7f6566a Mon Sep 17 00:00:00 2001 From: Stephen Montgomery-Smith Date: Fri, 24 Jun 2011 04:22:33 +0000 Subject: - Bump portrevision because math/octave updated to 3.4.1 - Fix to work with math/octave-3.4.1 Approved by: maho (mentor) --- math/octave-forge-octclip/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'math/octave-forge-octclip') 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 .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 -- cgit v1.2.3