diff options
author | sbd <sbd> | 2011-11-29 06:17:57 +0000 |
---|---|---|
committer | sbd <sbd> | 2011-11-29 06:17:57 +0000 |
commit | cd887963746f949c6f8462f1dabd4eb412e7a683 (patch) | |
tree | db36c784aa74cf66ea6b7f5b1f60051bd300fbba /emulators | |
parent | b6527362ac77fd3cd07c209af56f13536a376868 (diff) | |
download | pkgsrc-cd887963746f949c6f8462f1dabd4eb412e7a683.tar.gz |
Honor CFLAGS and LDFLAGS from pkgsrc.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/gcube/distinfo | 4 | ||||
-rw-r--r-- | emulators/gcube/patches/patch-aa | 26 |
2 files changed, 24 insertions, 6 deletions
diff --git a/emulators/gcube/distinfo b/emulators/gcube/distinfo index 3b0eea9eaf7..672d3ebb305 100644 --- a/emulators/gcube/distinfo +++ b/emulators/gcube/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.4 2006/06/26 10:56:57 rillig Exp $ +$NetBSD: distinfo,v 1.5 2011/11/29 06:17:57 sbd Exp $ SHA1 (gcube-0.4-src.tar.bz2) = dae967f8aedfc2115c3720dfe2c523128fddc8b6 RMD160 (gcube-0.4-src.tar.bz2) = 9a7c13ed611da22705f960686eea225e30b61dc6 Size (gcube-0.4-src.tar.bz2) = 803503 bytes -SHA1 (patch-aa) = 285ae801f3e000420713e4e9b22d20fb55b12e3c +SHA1 (patch-aa) = 6568ce5f29e26c80f8537f20a5babaa212a9a3f8 SHA1 (patch-ab) = 8907f650214bec5cdbf032464a1be39cccea5d81 SHA1 (patch-ac) = 24e52c1b863d858863317de1c34fe9a917f83599 SHA1 (patch-ad) = 2d21a509b768d6aa269cb30e1adf01279d98bc41 diff --git a/emulators/gcube/patches/patch-aa b/emulators/gcube/patches/patch-aa index 0e3e484ae7c..f38162c8c3a 100644 --- a/emulators/gcube/patches/patch-aa +++ b/emulators/gcube/patches/patch-aa @@ -1,6 +1,8 @@ -$NetBSD: patch-aa,v 1.2 2006/01/10 14:33:26 jmmv Exp $ +$NetBSD: patch-aa,v 1.3 2011/11/29 06:17:57 sbd Exp $ ---- Makefile.rules.orig 2005-01-12 14:34:18.000000000 +0100 +Honor CFLAGS and LDFLAGS from pkgsrc. + +--- Makefile.rules.orig 2005-01-12 13:34:18.000000000 +0000 +++ Makefile.rules @@ -2,9 +2,9 @@ SDL_CONFIG=sdl-config @@ -15,7 +17,7 @@ $NetBSD: patch-aa,v 1.2 2006/01/10 14:33:26 jmmv Exp $ OBJECTS=\ ppc_disasm.o\ -@@ -89,10 +89,10 @@ release: default +@@ -89,22 +89,22 @@ release: default profiler: default gcube: $(OBJECTS) gcube.o @@ -27,4 +29,20 @@ $NetBSD: patch-aa,v 1.2 2006/01/10 14:33:26 jmmv Exp $ + $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS) bin2dol: bin2dol.c general.o - $(CC) $(CFLAGS) $^ -o $@ +- $(CC) $(CFLAGS) $^ -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ + + tplx: tplx.o general.o +- $(CC) $(CFLAGS) $^ -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ + + thpview: thpview.o general.o jpeg_tools.o +- $(CC) $(CFLAGS) `$(SDL_CONFIG) --cflags` $^ -o $@ -ljpeg `$(SDL_CONFIG) --libs` ++ $(CC) $(CFLAGS) $(LDFLAGS) `$(SDL_CONFIG) --cflags` $^ -o $@ -ljpeg `$(SDL_CONFIG) --libs` + + isopack: isopack.o general.o +- $(CC) $(CFLAGS) $^ -o $@ -lz ++ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ -lz + + ppc_disasm.o: ppc_disasm.c + $(CC) -g -c -o $@ $< |