svn commit: r339514 - head/math/octave-forge-ltfat

Stephen Montgomery-Smith stephen at FreeBSD.org
Sun Jan 12 15:17:29 UTC 2014


Author: stephen
Date: Sun Jan 12 15:17:28 2014
New Revision: 339514
URL: http://svnweb.freebsd.org/changeset/ports/339514

Log:
  - Better way to make build work with FreeBSD-10.
  
  Reported by:	Baptiste Daroussin <bapt at FreeBSD.org>

Modified:
  head/math/octave-forge-ltfat/Makefile

Modified: head/math/octave-forge-ltfat/Makefile
==============================================================================
--- head/math/octave-forge-ltfat/Makefile	Sun Jan 12 15:13:07 2014	(r339513)
+++ head/math/octave-forge-ltfat/Makefile	Sun Jan 12 15:17:28 2014	(r339514)
@@ -13,6 +13,8 @@ LIB_DEPENDS=	fftw3:${PORTSDIR}/math/fftw
 		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:


More information about the svn-ports-all mailing list