1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/science/vmd/files/patch-Make-arch
Wesley Shields 1deef0cb6a - Update to 1.8.7
- Pass maintainer to submitter

PR:		ports/142513
Submitted by:	Ben Kaduk <kaduk@mit.edu>
Feature safe:	yes
2010-02-22 14:22:45 +00:00

39 lines
1.1 KiB
Plaintext

--- Make-arch.orig Mon Feb 7 13:09:55 2005
+++ ../plugins/Make-arch Fri Mar 25 16:54:01 2005
@@ -12,6 +12,7 @@
@echo " AIX5_64"
@echo " AIX6_64"
@echo " FREEBSD"
+ @echo " FREEBSDAMD64"
@echo " HPUX11"
@echo " IRIX6"
@echo " IRIX6_64"
@@ -259,8 +260,25 @@
"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 -I/usr/local/include/tcl8.5" \
+ "TCLLDFLAGS = -L/usr/local/lib -ltcl85" \
+ "NETCDFLDFLAGS = -lnetcdf " \
+ "AR = ar" \
+ "NM = nm -p" \
+ "RANLIB = touch" \
+ "SHLD = gcc -shared"
+
+FREEBSDAMD64:
+ $(MAKE) dynlibs staticlibs \
+ "ARCH = FREEBSDAMD64" \
+ "COPTO = -fPIC -m64 -o " \
+ "LOPTO = -fPIC -m64 -o " \
+ "CC = gcc" \
+ "CXX = g++" \
+ "DEF = -D" \
+ "CCFLAGS = ${CFLAGS} -m64 -O2 -Wall -I/usr/local/include/tcl8.5" \
+ "CXXFLAGS = ${CFLAGS} -m64 -O2 -Wall -I/usr/local/include/tcl8.5" \
"TCLLDFLAGS = -L/usr/local/lib -ltcl85" \
"NETCDFLDFLAGS = -lnetcdf " \
"AR = ar" \