- 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>
36 lines
942 B
Plaintext
36 lines
942 B
Plaintext
--- ../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" \
|
|
- "TCLLDFLAGS = -L/usr/local/lib -ltcl85" \
|
|
- "NETCDFLDFLAGS = -lnetcdf " \
|
|
+ "CCFLAGS = ${CFLAGS} -Wall" \
|
|
+ "CXXFLAGS = ${CFLAGS} -Wall" \
|
|
"AR = ar" \
|
|
"NM = nm -p" \
|
|
"RANLIB = touch" \
|
|
@@ -283,16 +281,14 @@
|
|
|
|
FREEBSDAMD64:
|
|
$(MAKE) dynlibs staticlibs bins \
|
|
- "ARCH = FREEBSD" \
|
|
+ "ARCH = FREEBSDAMD64" \
|
|
"COPTO = -fPIC -m64 -o " \
|
|
"LOPTO = -fPIC -m64 -o " \
|
|
"CC = gcc" \
|
|
"CXX = g++" \
|
|
"DEF = -D" \
|
|
- "CCFLAGS = -m64 -O2 -Wall -I/usr/local/include/tcl8.5" \
|
|
- "CXXFLAGS = -m64 -O2 -Wall" \
|
|
- "TCLLDFLAGS = -L/usr/local/lib -ltcl85" \
|
|
- "NETCDFLDFLAGS = -lnetcdf " \
|
|
+ "CCFLAGS = ${CFLAGS} -Wall" \
|
|
+ "CXXFLAGS = ${CFLAGS} -Wall" \
|
|
"AR = ar" \
|
|
"NM = nm -p" \
|
|
"RANLIB = touch" \
|