svn commit: r339512 - head/math/octave-forge-nan

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


Author: stephen
Date: Sun Jan 12 15:09:29 2014
New Revision: 339512
URL: http://svnweb.freebsd.org/changeset/ports/339512

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

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

Modified: head/math/octave-forge-nan/Makefile
==============================================================================
--- head/math/octave-forge-nan/Makefile	Sun Jan 12 15:03:28 2014	(r339511)
+++ head/math/octave-forge-nan/Makefile	Sun Jan 12 15:09:29 2014	(r339512)
@@ -9,6 +9,9 @@ CATEGORIES=	math
 MAINTAINER=	stephen at FreeBSD.org
 COMMENT=	Octave-forge package ${OCTAVE_PKGNAME}
 
+MAKE_JOBS_UNSAFE=	yes
+MAKE_ARGS=	CC="${CC}" CXX="${CXX}"
+
 # OCTSRC is the name of the directory of the package.
 # It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
 OCTSRC=		NaN
@@ -16,9 +19,6 @@ OCTSRC=		NaN
 WRKSRC=		${WRKDIR}/${OCTSRC}/src
 
 NO_STAGE=	yes
-post-patch:
-	@${REINPLACE_CMD} -e s/^CC/\#CC/ -e s/^CXX/\#CXX/ ${WRKSRC}/Makefile
-
 .include "${.CURDIR}/../../Mk/bsd.octave.mk"
 
 ALL_TARGET=	octave


More information about the svn-ports-all mailing list