Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2014 15:09:30 +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: r339512 - head/math/octave-forge-nan
Message-ID:  <201401121509.s0CF9Uob064825@svn.freebsd.org>

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



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