From root@cyberbotx.com  Sat Jul  2 16:35:26 2011
Return-Path: <root@cyberbotx.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 685031065670
	for <freebsd-gnats-submit@freebsd.org>; Sat,  2 Jul 2011 16:35:26 +0000 (UTC)
	(envelope-from root@cyberbotx.com)
Received: from qmta11.emeryville.ca.mail.comcast.net (qmta11.emeryville.ca.mail.comcast.net [76.96.27.211])
	by mx1.freebsd.org (Postfix) with ESMTP id 554308FC08
	for <freebsd-gnats-submit@freebsd.org>; Sat,  2 Jul 2011 16:35:26 +0000 (UTC)
Received: from omta07.emeryville.ca.mail.comcast.net ([76.96.30.59])
	by qmta11.emeryville.ca.mail.comcast.net with comcast
	id 34N81h0031GXsucAB4NEtz; Sat, 02 Jul 2011 16:22:14 +0000
Received: from kirby.cyberbotx.com ([69.244.146.119])
	by omta07.emeryville.ca.mail.comcast.net with comcast
	id 34NM1h01E2anbQt8U4NRdL; Sat, 02 Jul 2011 16:22:26 +0000
Received: by kirby.cyberbotx.com (Postfix, from userid 0)
	id 0E38828459; Sat,  2 Jul 2011 12:22:10 -0400 (EDT)
Message-Id: <20110702162210.0E38828459@kirby.cyberbotx.com>
Date: Sat,  2 Jul 2011 12:22:10 -0400 (EDT)
From: Naram Qashat <cyberbotx@cyberbotx.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] emulators/tiemu3: Fix build with clang
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         158598
>Category:       ports
>Synopsis:       [MAINTAINER] emulators/tiemu3: Fix build with clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    rene
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 02 16:40:09 UTC 2011
>Closed-Date:    Sun Jul 31 09:14:08 UTC 2011
>Last-Modified:  Sun Jul 31 09:20:06 UTC 2011
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Jul 2 16:40:19 UTC 2011 
Responsible-Changed-Why:  
miwi@ wants his PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158598 
Responsible-Changed-From-To: miwi->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Jul 12 04:41:30 UTC 2011 
Responsible-Changed-Why:  
Back to pool at assignee request for the moment. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158598 
Responsible-Changed-From-To: freebsd-ports-bugs->rene 
Responsible-Changed-By: rene 
Responsible-Changed-When: Sat Jul 30 22:09:45 UTC 2011 
Responsible-Changed-Why:  
Grab 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158598 
State-Changed-From-To: open->closed 
State-Changed-By: rene 
State-Changed-When: Sun Jul 31 09:13:19 UTC 2011 
State-Changed-Why:  
Committed, thanks 
Patch files slightly renamed to match style in 
http://www.freebsd.org/doc/en/books/porters-handbook/slow-patch.html 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158598 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/158598: commit references a PR
Date: Sun, 31 Jul 2011 09:12:43 +0000 (UTC)

 rene        2011-07-31 09:12:33 UTC
 
   FreeBSD ports repository
 
   Added files:
     emulators/tiemu3/files patch-man_Makefile.in 
                            patch-src_core_uae_Makefile 
   Log:
   Fix build with clang by respecting CC
   
   PR:             ports/158598
   Submitted by:   maintainer
   
   Revision  Changes    Path
   1.1       +11 -0     ports/emulators/tiemu3/files/patch-man_Makefile.in (new)
   1.1       +37 -0     ports/emulators/tiemu3/files/patch-src_core_uae_Makefile (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
