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 | 6debf299a19b2609000d410d65b02e49dd146a8f (patch) | |
tree | f64a239db40dba6f3f46392492144b6ea4e08d95 /emulators | |
parent | 080eed0d890080d1719e3188ca3954593bf7260c (diff) | |
download | pkgsrc-6debf299a19b2609000d410d65b02e49dd146a8f.tar.gz |
Fix building on Mac OS X when using a SDK
Diffstat (limited to 'emulators')
-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 $@ |