aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2011-07-31 09:12:33 +0000
committerRene Ladan <rene@FreeBSD.org>2011-07-31 09:12:33 +0000
commit934d86f3a70ddeadec9dc5945a393a472320a781 (patch)
treea0f332e90d1fea453af8448f20f640caf960e967 /emulators
parent2584b3c5a77a0362f0bc55b1b3f4d208f3f4c8d8 (diff)
downloadports-934d86f3a70ddeadec9dc5945a393a472320a781.tar.gz
ports-934d86f3a70ddeadec9dc5945a393a472320a781.zip
Notes
Diffstat (limited to 'emulators')
-rw-r--r--emulators/tiemu3/files/patch-man_Makefile.in11
-rw-r--r--emulators/tiemu3/files/patch-src_core_uae_Makefile37
2 files changed, 48 insertions, 0 deletions
diff --git a/emulators/tiemu3/files/patch-man_Makefile.in b/emulators/tiemu3/files/patch-man_Makefile.in
new file mode 100644
index 000000000000..101a3b77e06e
--- /dev/null
+++ b/emulators/tiemu3/files/patch-man_Makefile.in
@@ -0,0 +1,11 @@
+--- man/Makefile.in.orig 2009-04-30 16:45:57.000000000 -0400
++++ man/Makefile.in 2011-07-02 12:20:12.000000000 -0400
+@@ -539,7 +539,7 @@
+
+ dist_win: $(man_MANS)
+ groff -Tascii -man $(man_MANS) > Manpage
+- C_INCLUDE_PATH="" LIBRARY_PATH="" gcc cleaner.c -o cleaner
++ C_INCLUDE_PATH="" LIBRARY_PATH="" $(CC) cleaner.c -o cleaner
+ ./cleaner Manpage
+ rm Manpage cleaner
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/emulators/tiemu3/files/patch-src_core_uae_Makefile b/emulators/tiemu3/files/patch-src_core_uae_Makefile
new file mode 100644
index 000000000000..641da3255f65
--- /dev/null
+++ b/emulators/tiemu3/files/patch-src_core_uae_Makefile
@@ -0,0 +1,37 @@
+--- src/core/uae/Makefile.orig 2006-01-06 18:30:04.000000000 -0500
++++ src/core/uae/Makefile 2011-07-02 12:14:35.000000000 -0400
+@@ -14,26 +14,26 @@
+
+ # For cross-compiling (generators are run on host)
+ build68k_host.o: build68k.c
+- C_INCLUDE_PATH="" LIBRARY_PATH="" gcc -c -o $@ $?
++ C_INCLUDE_PATH="" LIBRARY_PATH="" $(CC) -c -o $@ $?
+ gencpu_host.o: gencpu.c
+- C_INCLUDE_PATH="" LIBRARY_PATH="" gcc -c -o $@ $?
++ C_INCLUDE_PATH="" LIBRARY_PATH="" $(CC) -c -o $@ $?
+ readcpu_host.o: readcpu.c
+- C_INCLUDE_PATH="" LIBRARY_PATH="" gcc -c -o $@ $?
++ C_INCLUDE_PATH="" LIBRARY_PATH="" $(CC) -c -o $@ $?
+ cpudefs_host.o: cpudefs.c
+- C_INCLUDE_PATH="" LIBRARY_PATH="" gcc -c -o $@ $?
++ C_INCLUDE_PATH="" LIBRARY_PATH="" $(CC) -c -o $@ $?
+ missing_host.o: missing.c
+- C_INCLUDE_PATH="" LIBRARY_PATH="" gcc -c -o $@ $?
++ C_INCLUDE_PATH="" LIBRARY_PATH="" $(CC) -c -o $@ $?
+ xmalloc_host.o: xmalloc.c
+- C_INCLUDE_PATH="" LIBRARY_PATH="" gcc -c -o $@ $?
++ C_INCLUDE_PATH="" LIBRARY_PATH="" $(CC) -c -o $@ $?
+
+ # Build generators and files to generate
+ build68k: build68k_host.o
+ @echo "-> Compiling 68k builder..."
+- C_INCLUDE_PATH="" LIBRARY_PATH="" gcc $(LDFLAGS) -o $@ $?
++ C_INCLUDE_PATH="" LIBRARY_PATH="" $(CC) $(LDFLAGS) -o $@ $?
+
+ gencpu: gencpu_host.o readcpu_host.o cpudefs_host.o missing_host.o xmalloc_host.o
+ @echo "-> Compiling CPU generator..."
+- C_INCLUDE_PATH="" LIBRARY_PATH="" gcc $(LDFLAGS) -o $@ gencpu_host.o readcpu_host.o cpudefs_host.o missing_host.o xmalloc_host.o
++ C_INCLUDE_PATH="" LIBRARY_PATH="" $(CC) $(LDFLAGS) -o $@ gencpu_host.o readcpu_host.o cpudefs_host.o missing_host.o xmalloc_host.o
+
+ cpudefs.c: build68k table68k
+ @echo "-> Building CPU definitions..." \ No newline at end of file