Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jun 2019 23:32:57 +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: r505525 - head/math/octave-forge-nurbs
Message-ID:  <201906302332.x5UNWvo7022443@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: stephen
Date: Sun Jun 30 23:32:57 2019
New Revision: 505525
URL: https://svnweb.freebsd.org/changeset/ports/505525

Log:
  - On GCC architectures, don't use the base GCC to build.
  
  PR:		238885
  Submitted by:	Piotr Kubaj <pkubaj@FreeBSD.org>

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

Modified: head/math/octave-forge-nurbs/Makefile
==============================================================================
--- head/math/octave-forge-nurbs/Makefile	Sun Jun 30 23:10:19 2019	(r505524)
+++ head/math/octave-forge-nurbs/Makefile	Sun Jun 30 23:32:57 2019	(r505525)
@@ -22,8 +22,15 @@ WRKSRC=		${WRKDIR}/${OCTSRC}/src
 
 .include "${.CURDIR}/../../Mk/bsd.octave.mk"
 
+.include <bsd.port.pre.mk>
+
+# Force newer GCC on platforms using GCC 4.2 as base
+.if ${CHOSEN_COMPILER_TYPE} == gcc
+USE_GCC=        yes
+.endif
+
 post-build:
 	${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure
 	cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



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