svn commit: r505525 - head/math/octave-forge-nurbs

Stephen Montgomery-Smith stephen at FreeBSD.org
Sun Jun 30 23:32:58 UTC 2019


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 at 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>


More information about the svn-ports-all mailing list