- Better way to make build work with FreeBSD-10.

Reported by:	Baptiste Daroussin <bapt@FreeBSD.org>
This commit is contained in:
Stephen Montgomery-Smith 2014-01-12 15:17:28 +00:00
parent d88c670092
commit 223bef9f14
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339514

View file

@ -13,6 +13,8 @@ LIB_DEPENDS= fftw3:${PORTSDIR}/math/fftw3 \
portaudio:${PORTSDIR}/audio/portaudio2 \
cblas:${PORTSDIR}/math/cblas
MAKE_ARGS= CC="${CC}"
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
@ -20,9 +22,6 @@ OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e s/^CC/\#CC/ -e s/^CXX/\#CXX/ ${WRKSRC}/Makefile_unix
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
post-build: