summaryrefslogtreecommitdiff
path: root/science/vmd/files/patch-Make-arch
diff options
context:
space:
mode:
authorDavid Naylor <dbn@FreeBSD.org>2017-06-18 06:03:29 +0000
committerDavid Naylor <dbn@FreeBSD.org>2017-06-18 06:03:29 +0000
commitbb547a6642203987cc169cdc8844b2ee2276b70f (patch)
tree1864b5146042a3cfa5ee896fcc6394b473de24ba /science/vmd/files/patch-Make-arch
parentUpdate to 10.3.3 (diff)
science/vmd: various fixes
- fix spelling of VMD license [1] - use USES=tcl,tk instead of direct dependency - patch vmd to support (tcl|tk)86 - fix shebang for tcl [1] - fix detection of netcdf - add sqlite as a dependency (for dmsplugin) [1] - add expact as a dependency (for hoomdplugin) - rework configuration: - explicitly list required components (CONFIGURE_ARGS) - call configure directly (instead of via gmake(1)) - patch configure to accept TCLLDFLAGS and TKLDFLAGS - pass PREFIX as an environment variable instead of using sed(1) - patch Make-arch to accept environment TCLLDFLAGS and NETCDFLDFLAGS - add support for parallel building (except for building plugins) - bump PORTREVISION PR: 219642 Reported by: Yuri Victorovich <yuri@rawbw.com>
Notes
Notes: svn path=/head/; revision=443820
Diffstat (limited to 'science/vmd/files/patch-Make-arch')
-rw-r--r--science/vmd/files/patch-Make-arch28
1 files changed, 16 insertions, 12 deletions
diff --git a/science/vmd/files/patch-Make-arch b/science/vmd/files/patch-Make-arch
index 9bad558a0bf2..fc680cffc2c7 100644
--- a/science/vmd/files/patch-Make-arch
+++ b/science/vmd/files/patch-Make-arch
@@ -1,17 +1,19 @@
---- ../plugins/Make-arch.orig 2011-03-11 22:38:25.000000000 -0500
-+++ ../plugins/Make-arch 2011-03-12 00:08:41.000000000 -0500
-@@ -277,8 +277,8 @@
+--- ../plugins/Make-arch.orig 2016-10-21 23:34:39.000000000 +0200
++++ ../plugins/Make-arch
+@@ -272,10 +272,8 @@
"CC = gcc" \
"CXX = g++" \
"DEF = -D" \
- "CCFLAGS = -O2 -Wall -I/usr/local/include/tcl8.5" \
- "CXXFLAGS = -O2 -Wall" \
-+ "CCFLAGS = ${CFLAGS} -O2 -Wall -I/usr/local/include/tcl8.5" \
-+ "CXXFLAGS = ${CFLAGS} -O2 -Wall" \
- "TCLLDFLAGS = -L/usr/local/lib -ltcl85" \
- "NETCDFLDFLAGS = -lnetcdf " \
+- "TCLLDFLAGS = -L/usr/local/lib -ltcl85" \
+- "NETCDFLDFLAGS = -lnetcdf " \
++ "CCFLAGS = ${CFLAGS} -Wall" \
++ "CXXFLAGS = ${CFLAGS} -Wall" \
"AR = ar" \
-@@ -288,14 +288,14 @@
+ "NM = nm -p" \
+ "RANLIB = touch" \
+@@ -283,16 +281,14 @@
FREEBSDAMD64:
$(MAKE) dynlibs staticlibs bins \
@@ -24,8 +26,10 @@
"DEF = -D" \
- "CCFLAGS = -m64 -O2 -Wall -I/usr/local/include/tcl8.5" \
- "CXXFLAGS = -m64 -O2 -Wall" \
-+ "CCFLAGS = ${CFLAGS} -m64 -O2 -Wall -I/usr/local/include/tcl8.5" \
-+ "CXXFLAGS = ${CFLAGS} -m64 -O2 -Wall" \
- "TCLLDFLAGS = -L/usr/local/lib -ltcl85" \
- "NETCDFLDFLAGS = -lnetcdf " \
+- "TCLLDFLAGS = -L/usr/local/lib -ltcl85" \
+- "NETCDFLDFLAGS = -lnetcdf " \
++ "CCFLAGS = ${CFLAGS} -Wall" \
++ "CXXFLAGS = ${CFLAGS} -Wall" \
"AR = ar" \
+ "NM = nm -p" \
+ "RANLIB = touch" \