Ticket #36368: port-frozenbubble2.diff
File port-frozenbubble2.diff, 1.1 KB (added by anddam (Andrea D'Amore), 12 years ago) |
---|
-
Portfile
44 44 ${worksrcpath}/c_stuff/Makefile 45 45 } 46 46 47 build.args PREFIX="${prefix}" CC="${configure.cc}" LD="${configure.cc}" 47 if {${configure.compiler} == "llvm-gcc-4.2"} { 48 patchfiles-append patch-server_makefile.diff 49 } 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