Fix building on Mac OS X when using a SDK
This commit is contained in:
parent
db5e752052
commit
79d51900b1
2 changed files with 17 additions and 1 deletions
|
@ -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
|
||||
|
|
15
emulators/libspectrum/patches/patch-Makefile.in
Normal file
15
emulators/libspectrum/patches/patch-Makefile.in
Normal file
|
@ -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 $@
|
Loading…
Reference in a new issue