Ticket #36368: port-frozenbubble2-98202.diff
File port-frozenbubble2-98202.diff, 1.6 KB (added by anddam (Andrea D'Amore), 12 years ago) |
---|
-
Portfile
7 7 version 2.2.0 8 8 revision 1 9 9 platforms darwin 10 maintainers pmq 10 maintainers pmq openmaintainer 11 11 12 12 description Frozen Bubble 2 13 13 long_description Colorful 3D rendered penguin animations, 100 levels of 1p \ … … 35 35 # uses nested functions 36 36 compiler.blacklist clang 37 37 patchfiles patch-c_stuff-Makefile.PL.diff patch-Makefile.diff patch-c_stuff-Makefile.diff 38 if {${configure.compiler} == "llvm-gcc-4.2"} { 39 patchfiles-append patch-server_makefile.diff 40 } 38 41 39 42 configure { 40 43 foreach file [glob ${worksrcpath}/frozen-bubble*] { … … 44 47 ${worksrcpath}/c_stuff/Makefile 45 48 } 46 49 47 build.args PREFIX="${prefix}" CC="${configure.cc}" LD="${configure.cc}" 50 build.args PREFIX="${prefix}" CC="${configure.cc}" LD="${configure.cc}" CPP="${configure.cpp}" 48 51 destroot.args PREFIX="${prefix}" -
files/patch-server_makefile.diff
1 --- server/Makefile.orig 2012-09-29 00:38:54.000000000 +0200 2 +++ server/Makefile 2012-09-29 00:53:01.000000000 +0200 3 @@ -25,7 +25,9 @@ 4 install fb-server $(DESTDIR)$(LIBDIR)/frozen-bubble 5 6 .depend: 7 - $(CPP) $(CFLAGS) $(CPPFLAGS) -M $(ALLSRC) > .depend 8 + for aFile in $(ALLSRC) ; do \ 9 + $(CPP) $(CFLAGS) $(CPPFLAGS) -M $$aFile >> .depend ; \ 10 + done 11 12 ifeq (.depend,$(wildcard .depend)) 13 include .depend