Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2014 15:17:28 +0000 (UTC)
From:      Stephen Montgomery-Smith <stephen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339514 - head/math/octave-forge-ltfat
Message-ID:  <201401121517.s0CFHSEF069014@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401121517.s0CFHSEF069014>