diff --git a/math/octave-forge-octproj/Makefile b/math/octave-forge-octproj/Makefile index 29bd722d88d0..2868adcb3383 100644 --- a/math/octave-forge-octproj/Makefile +++ b/math/octave-forge-octproj/Makefile @@ -1,35 +1,33 @@ # Created by: Stephen Montgomery-Smith PORTNAME= octave-forge-octproj PORTVERSION= 2.0.1 PORTREVISION= 5 CATEGORIES= math MAINTAINER= stephen@FreeBSD.org COMMENT= Octave-forge package ${OCTAVE_PKGNAME} LICENSE= GPLv3 LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING LIB_DEPENDS+= libproj.so:graphics/proj # OCTSRC is the name of the directory of the package. # It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}. OCTSRC= ${DISTNAME} WRKSRC= ${WRKDIR}/${OCTSRC}/src USES+= compiler:gcc-c++11-lib -CPPFLAGS+= -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 - .include "${.CURDIR}/../../Mk/bsd.octave.mk" post-patch: ${REINPLACE_CMD} -e s/CC/MKOCTFILE/ -e s/-Wall// -e s/-Wextra// ${WRKSRC}/Makefile post-build: ${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC} .include diff --git a/math/octave-forge-octproj/files/patch-projwrap.h b/math/octave-forge-octproj/files/patch-projwrap.h deleted file mode 100644 index c56dc1f24c25..000000000000 --- a/math/octave-forge-octproj/files/patch-projwrap.h +++ /dev/null @@ -1,10 +0,0 @@ ---- projwrap.h.orig 2020-05-07 16:41:54 UTC -+++ projwrap.h -@@ -24,6 +24,7 @@ or http://www.gnu.org - #include - #include - #include -+#undef ACCEPT_USE_OF_DEPRECATED_PROJ_API_H - #include - /******************************************************************************/ - /******************************************************************************/