Date: Sat, 2 Jul 2011 12:22:10 -0400 (EDT) From: Naram Qashat <cyberbotx@cyberbotx.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/158598: [MAINTAINER] emulators/tiemu3: Fix build with clang Message-ID: <20110702162210.0E38828459@kirby.cyberbotx.com> Resent-Message-ID: <201107021640.p62Ge9bG024470@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 158598 >Category: ports >Synopsis: [MAINTAINER] emulators/tiemu3: Fix build with clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Jul 02 16:40:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Naram Qashat >Release: FreeBSD 8.2-RELEASE amd64 >Organization: >Environment: System: FreeBSD kirby.cyberbotx.com 8.2-RELEASE FreeBSD 8.2-RELEASE #3: Sun Feb 27 08:58:31 EST 2011 >Description: Fix build with clang by respecting CC. Added file(s): - files/patch-man-Makefile.in - files/patch-src-core-uae-Makefile Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- tiemu3-3.03_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/emulators/tiemu3/files/patch-man-Makefile.in /kirby/shared/ports/tiemu3/files/patch-man-Makefile.in --- /usr/ports/emulators/tiemu3/files/patch-man-Makefile.in 1969-12-31 19:00:00.000000000 -0500 +++ /kirby/shared/ports/tiemu3/files/patch-man-Makefile.in 2011-07-02 12:20:23.000000000 -0400 @@ -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 -ruN --exclude=CVS /usr/ports/emulators/tiemu3/files/patch-src-core-uae-Makefile /kirby/shared/ports/tiemu3/files/patch-src-core-uae-Makefile --- /usr/ports/emulators/tiemu3/files/patch-src-core-uae-Makefile 1969-12-31 19:00:00.000000000 -0500 +++ /kirby/shared/ports/tiemu3/files/patch-src-core-uae-Makefile 2011-07-02 12:16:35.000000000 -0400 @@ -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..." --- tiemu3-3.03_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110702162210.0E38828459>