aboutsummaryrefslogtreecommitdiff
path: root/games/trophy
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-09-19 04:37:10 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-09-19 04:37:10 +0000
commit95dce11a1c3058f4887ff552af1c7e131b2e994d (patch)
tree727ae7aa799e3490321fd2dc2a588ea1875b6453 /games/trophy
parent4ca5f3607a264594bf3c8b94f399b72bb0d7872d (diff)
downloadports-95dce11a1c3058f4887ff552af1c7e131b2e994d.tar.gz
ports-95dce11a1c3058f4887ff552af1c7e131b2e994d.zip
Notes
Diffstat (limited to 'games/trophy')
-rw-r--r--games/trophy/files/patch-trophy::Makefile29
-rw-r--r--games/trophy/files/patch-trophy__Makefile.in11
2 files changed, 11 insertions, 29 deletions
diff --git a/games/trophy/files/patch-trophy::Makefile b/games/trophy/files/patch-trophy::Makefile
deleted file mode 100644
index c8a841676432..000000000000
--- a/games/trophy/files/patch-trophy::Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
---- trophy/Makefile.orig Thu Jan 22 16:19:22 2004
-+++ trophy/Makefile Thu Jan 22 16:46:00 2004
-@@ -1,6 +1,6 @@
- # Generated automatically from Makefile.in by configure.
-
--prefix = /usr/local
-+prefix = ${PREFIX}
- exec_prefix = ${prefix}
- datadir = ${prefix}/share
- bindir = ${exec_prefix}/bin
-@@ -37,7 +37,8 @@
- catrophy.o \
- cawidget.o
- #DATAFILES = resources.dat
--EXTERN_LIBS = -lclanCore -lclanSound -lclanDisplay -lclanApp -lHermes
-+EXTERN_LIBS = -L$(LOCALBASE)/lib -lclanCore -lclanSound -lclanDisplay -lclanApp -lHermes $(PTHREAD_LIBS)
-+INCLUDES = -I$(LOCALBASE)/include
-
- all: trophy $(DATAFILES)
-
-@@ -54,7 +55,7 @@
- $(CXX) $(EXTERN_LIBS) -o trophy $(OBJF)
-
- %.o : %.cpp
-- $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) -O3 -Wall -DPKGDATADIR=\"$(datadir)/trophy\" $< -o $@
-+ $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(PTHREAD_CFLAGS) $(INCLUDES) -Wall -DPKGDATADIR=\"$(datadir)/trophy\" $< -o $@
-
- %.dat : %.scr trophy
- ./trophy -datafile $< $@
diff --git a/games/trophy/files/patch-trophy__Makefile.in b/games/trophy/files/patch-trophy__Makefile.in
new file mode 100644
index 000000000000..4b708730d6d8
--- /dev/null
+++ b/games/trophy/files/patch-trophy__Makefile.in
@@ -0,0 +1,11 @@
+--- trophy/Makefile.in.orig Wed Sep 19 14:30:23 2007
++++ trophy/Makefile.in Wed Sep 19 14:31:48 2007
+@@ -56,7 +56,7 @@
+ $(CXX) $(EXTERN_LIBS) -o trophy $(OBJF)
+
+ %.o : %.cpp
+- $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(HEADERS) -O0 -g -Wall -DPKGDATADIR=\"$(datadir)/trophy\" $< -o $@
++ $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(PTHREAD_CFLAGS) $(HEADERS) -O0 -g -Wall -DPKGDATADIR=\"$(datadir)/trophy\" $< -o $@
+
+ doc :
+ @echo "Building documentation"