freebsd-ports/math/goblin/files/patch-Makefile
Ying-Chieh Liao 1b462cf363 upgrade to 2.5
PR:		43868
Submitted by:	Ulrich Spoerlein <q@uni.de>
2002-10-09 19:23:41 +00:00

40 lines
987 B
Text

--- Makefile.orig Wed Oct 9 18:54:01 2002
+++ Makefile Wed Oct 9 18:55:21 2002
@@ -25,13 +25,13 @@
# GNU
-cpp = g++ -c -O5 -Wall -pedantic -Iinclude $(vflags)
+cpp = g++ -c -O5 -Wall -pedantic -Iinclude $(vflags) %%CXXFLAGS%%
# To link with the static library libtcl.*.a
-link = g++ -lm -lpthread
+link = g++ -lm -lpthread %%LIBS%%
# To link with the shared object libtcl.*.so
# link = g++ -lm -Wl,-brtl -lpthreads -bbigtoc
# To link shared object
-linkShared = g++ -lm -lpthread -Wl,-shared
+linkShared = g++ -lm -lpthread -Wl,-shared %%LIBS%%
# xlC
@@ -46,15 +46,15 @@
# Tcl/Tk Release
-libtcl = 8.3
-libtk = 8.3
+libtcl = 83
+libtk = 83
# System Installation
-goblin_include_path = /usr/include
-goblin_lib_path = /usr/lib
-goblin_bin_path = /usr/bin
+goblin_include_path = %%PREFIX%%/include
+goblin_lib_path = %%PREFIX%%/lib
+goblin_bin_path = %%PREFIX%%/bin
#------------------------------------------------------------------------