diff options
author | adam <adam@pkgsrc.org> | 2011-02-27 12:26:28 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2011-02-27 12:26:28 +0000 |
commit | 783cb94f38dd4952c9ca12e5e0d94ec9c5623e36 (patch) | |
tree | f64a239db40dba6f3f46392492144b6ea4e08d95 /emulators/libspectrum | |
parent | 00ac691b0a0fd3b58822154347e750fd09be198f (diff) | |
download | pkgsrc-783cb94f38dd4952c9ca12e5e0d94ec9c5623e36.tar.gz |
Fix building on Mac OS X when using a SDK
Diffstat (limited to 'emulators/libspectrum')
-rw-r--r-- | emulators/libspectrum/distinfo | 3 | ||||
-rw-r--r-- | emulators/libspectrum/patches/patch-Makefile.in | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/emulators/libspectrum/distinfo b/emulators/libspectrum/distinfo index 1d240fcd6bc..2fd65cb0567 100644 --- a/emulators/libspectrum/distinfo +++ b/emulators/libspectrum/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.11 2010/12/20 20:51:36 adam Exp $ +$NetBSD: distinfo,v 1.12 2011/02/27 12:26:28 adam Exp $ SHA1 (libspectrum-1.0.0.tar.gz) = 0d980069e14497e02f219b0ea7130e0e5698bdc1 RMD160 (libspectrum-1.0.0.tar.gz) = 3cfb1cef3f59490bb0f244feacbc237e94bbc0f1 Size (libspectrum-1.0.0.tar.gz) = 462552 bytes +SHA1 (patch-Makefile.in) = c8871a57a82bd65fdd46acac3e8feaa8cd950a35 diff --git a/emulators/libspectrum/patches/patch-Makefile.in b/emulators/libspectrum/patches/patch-Makefile.in new file mode 100644 index 00000000000..38922ed821a --- /dev/null +++ b/emulators/libspectrum/patches/patch-Makefile.in @@ -0,0 +1,15 @@ +$NetBSD: patch-Makefile.in,v 1.1 2011/02/27 12:26:28 adam Exp $ + +Pass CFLAGS when compiling make-perl.c + +--- Makefile.in.orig 2011-02-27 12:21:02.000000000 +0000 ++++ Makefile.in +@@ -966,7 +966,7 @@ uninstall-man: uninstall-man3 + + + make-perl$(EXEEXT): $(srcdir)/make-perl.c config.h +- $(CC_FOR_BUILD) -I. -o $@ $< ++ $(CC_FOR_BUILD) $(CFLAGS) -I. -o $@ $< + + libspectrum.h: libspectrum.h.in generate.pl snap_accessors.txt tape_accessors.txt config.h + @PERL@ -p generate.pl $(srcdir) $(srcdir)/libspectrum.h.in > $@.tmp && mv $@.tmp $@ |