diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-05-12 15:45:50 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-05-12 15:45:50 +0800 |
commit | 5872b3226954a3ee8586ca89715c2e29ba4a1d5d (patch) | |
tree | f4932c4792fc6d4e178795ad6431aa871c8669a1 /math/goblin/files | |
parent | 5ddfc3725b9109313a63febda4882086fd4ded0b (diff) | |
download | freebsd-ports-gnome-5872b3226954a3ee8586ca89715c2e29ba4a1d5d.tar.gz freebsd-ports-gnome-5872b3226954a3ee8586ca89715c2e29ba4a1d5d.tar.zst freebsd-ports-gnome-5872b3226954a3ee8586ca89715c2e29ba4a1d5d.zip |
upgrade to 2.6
PR: 51863
Submitted by: Ports Fury
Diffstat (limited to 'math/goblin/files')
-rw-r--r-- | math/goblin/files/patch-Makefile | 34 |
1 files changed, 26 insertions, 8 deletions
diff --git a/math/goblin/files/patch-Makefile b/math/goblin/files/patch-Makefile index d914691ea316..df7bc7a172b9 100644 --- a/math/goblin/files/patch-Makefile +++ b/math/goblin/files/patch-Makefile @@ -1,19 +1,19 @@ ---- Makefile.orig Mon Mar 31 19:07:24 2003 -+++ Makefile Mon Mar 31 19:08:45 2003 +--- Makefile.orig Fri May 2 03:21:48 2003 ++++ Makefile Mon May 12 15:32:38 2003 @@ -26,13 +26,13 @@ # GNU
-cpp = g++ -c -g -O5 -Wall -pedantic -Iinclude
-+cpp = g++ -c -g -O5 -Wall -pedantic -Iinclude %%CXXFLAGS%%
++cpp = $(CXX) -c $(CXXFLAGS) -pedantic -Iinclude
# To link with the static library libtcl.*.a
-link = g++ -lm
-+link = g++ -lm %%LIBS%%
++link = $(CXX) -lm $(LDFLAGS)
# To link with the shared object libtcl.*.so
# link = g++ -lm -Wl,-brtl -bbigtoc
# To link shared object
-linkShared = g++ -lm -Wl,-shared
-+linkShared = g++ -lm -Wl,-shared %%LIBS%%
++linkShared = $(CXX) -lm -Wl,-shared $(LDFLAGS)
# xlC
@@ -32,9 +32,27 @@ -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
++goblin_include_path = $(PREFIX)/include
++goblin_lib_path = $(PREFIX)/lib
++goblin_bin_path = $(PREFIX)/bin
#------------------------------------------------------------------------
+@@ -683,7 +683,7 @@ +
+ shared: $(objects) goshMain.o goshGraph.o goshLin.o message.o
+ $(linkShared) $(objects) goshMain.o goshGraph.o goshLin.o message.o \
+- -lpthread -o libgoblin.so
++ -o libgoblin.so
+
+
+
+@@ -691,7 +691,7 @@ +
+ gosh: goblin $(gosh_objects)
+ $(link) $(gosh_objects) goblin.a \
+- -lpthread -ltcl$(libtcl) -ltk$(libtk) -o gosh
++ -ltcl$(libtcl) -ltk$(libtk) -o gosh
+
+
+
|