aboutsummaryrefslogtreecommitdiffstats
path: root/science/vmd
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-03-15 21:11:48 +0800
committermarino <marino@FreeBSD.org>2015-03-15 21:11:48 +0800
commitaf7eb16d0e6ad19017b150f16c0562fdc433dcdc (patch)
treefd2943ec41a8eb4f94c66d127e15cd6614b19a8a /science/vmd
parent93db999677b105e3f3cd6207ab5e4e617bef6043 (diff)
downloadfreebsd-ports-gnome-af7eb16d0e6ad19017b150f16c0562fdc433dcdc.tar.gz
freebsd-ports-gnome-af7eb16d0e6ad19017b150f16c0562fdc433dcdc.tar.zst
freebsd-ports-gnome-af7eb16d0e6ad19017b150f16c0562fdc433dcdc.zip
science/vmd: Improve cc/gcc replacement patterns for Makefiles
PR: 197103 Submitted by: Sakaue Mamoru
Diffstat (limited to 'science/vmd')
-rw-r--r--science/vmd/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/science/vmd/Makefile b/science/vmd/Makefile
index e9ee460d8932..102407ccef72 100644
--- a/science/vmd/Makefile
+++ b/science/vmd/Makefile
@@ -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 \