1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/science/vmd/files/patch-Make-arch
Hiroki Sato 7b3d6adf5f Update to 1.9.1.
Submitted by:	bjk
2012-04-23 04:48:03 +00:00

32 lines
983 B
Plaintext

--- ../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 @@
"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 " \
"AR = ar" \
@@ -288,14 +288,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" \
+ "CCFLAGS = ${CFLAGS} -m64 -O2 -Wall -I/usr/local/include/tcl8.5" \
+ "CXXFLAGS = ${CFLAGS} -m64 -O2 -Wall" \
"TCLLDFLAGS = -L/usr/local/lib -ltcl85" \
"NETCDFLDFLAGS = -lnetcdf " \
"AR = ar" \