aboutsummaryrefslogtreecommitdiff
path: root/cad/tochnog
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-08-06 17:08:15 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-08-06 17:08:15 +0000
commite2e6a5e13fc308da3d429f785c51af29bf1c02cf (patch)
tree70cc35baba45d35d0484689950e17c5afac971fd /cad/tochnog
parent7c95f9f90fb3fd46ef32a247dd110a8307432257 (diff)
downloadports-e2e6a5e13fc308da3d429f785c51af29bf1c02cf.tar.gz
ports-e2e6a5e13fc308da3d429f785c51af29bf1c02cf.zip
- Attempt to fix build on FreeBSD 4.X
Reported by: krismail
Notes
Notes: svn path=/head/; revision=169838
Diffstat (limited to 'cad/tochnog')
-rw-r--r--cad/tochnog/files/patch-makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/cad/tochnog/files/patch-makefile b/cad/tochnog/files/patch-makefile
index a46ddd361587..cd7d7c122620 100644
--- a/cad/tochnog/files/patch-makefile
+++ b/cad/tochnog/files/patch-makefile
@@ -1,5 +1,5 @@
---- makefile.orig Sun Aug 19 12:31:52 2001
-+++ makefile Fri Feb 3 16:41:08 2006
+--- makefile.orig Sun Aug 19 19:31:52 2001
++++ makefile Sun Aug 6 18:58:12 2006
@@ -1,6 +1,7 @@
# *********** fortran 2 c *******************
# Set F2C (for unix -lf2c and for MS windows to f2c.lib)
@@ -72,10 +72,10 @@
- "COMPILER_C=gcc" \
- "COMPILER_CPP=g++" \
- "COMPILER_FLAGS= -ansi -c -O2 -Wall $(PROFILE) $(ALL_INCLUDE)" \
-+ "COMPILER_FLAGS= -c ${CFLAGS} $(ALL_INCLUDE)" \
++ "COMPILER_FLAGS= -c ${CFLAGS} ${CPPFLAGS} $(ALL_INCLUDE)" \
"LINK_FLAGS_BEFORE=" \
- "LINK_FLAGS_AFTER= $(PROFILE) $(ALL_LIB) -static -lm -o tochnog"
-+ "LINK_FLAGS_AFTER= $(PROFILE) $(ALL_LIB) -lm -o tochnog"
++ "LINK_FLAGS_AFTER= $(PROFILE) $(ALL_LIB) ${LDFLAGS} -lm -o tochnog"
+
+# Multithreaded FreeBSD
+freebsd_parallel: