Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Mar 2015 13:11:49 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r381327 - head/science/vmd
Message-ID:  <201503151311.t2FDBnF8046823@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Mar 15 13:11:48 2015
New Revision: 381327
URL: https://svnweb.freebsd.org/changeset/ports/381327
QAT: https://qat.redports.org/buildarchive/r381327/

Log:
  science/vmd: Improve cc/gcc replacement patterns for Makefiles
  
  PR:		197103
  Submitted by:	Sakaue Mamoru

Modified:
  head/science/vmd/Makefile

Modified: head/science/vmd/Makefile
==============================================================================
--- head/science/vmd/Makefile	Sun Mar 15 13:05:41 2015	(r381326)
+++ head/science/vmd/Makefile	Sun Mar 15 13:11:48 2015	(r381327)
@@ -3,7 +3,7 @@
 
 PORTNAME=	vmd
 DISTVERSION=	1.9.1
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	science graphics python tcl tk
 MASTER_SITES=	http://jedi.ks.uiuc.edu/~johns/raytracer/files/0.99b2/:tachyon \
 		http://www.photonlimited.com/~johns/tachyon/files/0.99b2/:tachyon \
@@ -78,7 +78,7 @@ post-patch:
 	${REINPLACE_CMD} "s/\"gcc\"/\"${CC}\"/;s/\"g++\"/\"${CXX}\"/" ${WRKSRC}/configure
 	${REINPLACE_CMD} -E "s/(SHLD[[:space:]]*=[[:space:]]*)gcc/\1${CC}/" \
 		${WRKDIR}/plugins/Make-arch
-	${REINPLACE_CMD} -E "s/(CC[[:space:]]*=[[:space:]]*)cc/\1${CC}/" \
+	${REINPLACE_CMD} -E "s/(CC[[:space:]]*=[[:space:]]*)(gcc|cc)/\1${CC}/" \
 		${WRKSRC}/lib/stride/Makefile \
 		${WRKSRC}/lib/surf/Makefile \
 		${WRKSRC}/lib/tachyon/unix/Make-arch \
@@ -86,13 +86,8 @@ post-patch:
 		${WRKDIR}/plugins/cionize/Makefile.specialbuilds \
 		${WRKDIR}/plugins/cionize/Makefile.mine \
 		${WRKDIR}/plugins/cionize/Makefile.testing \
-		${WRKDIR}/plugins/Make-arch
-	${REINPLACE_CMD} -E "s/(CC[[:space:]]*=[[:space:]]*)gcc/\1${CC}/" \
 		${WRKDIR}/plugins/Make-arch \
-		${WRKDIR}/plugins/cionize/Makefile.mine \
-		${WRKDIR}/plugins/cionize/Makefile.specialbuilds \
-		${WRKDIR}/plugins/molfile_plugin/f77/Makefile \
-		${WRKSRC}/lib/tachyon/unix/Make-arch
+		${WRKDIR}/plugins/molfile_plugin/f77/Makefile
 	${REINPLACE_CMD} -E "s/(CXX[[:space:]]*=[[:space:]]*)g\+\+/\1${CXX}/" \
 		${WRKDIR}/plugins/cionize/Makefile.specialbuilds \
 		${WRKDIR}/plugins/fmtool/Makefile.specialbuilds \



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