Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Apr 2004 19:02:03 -0500 (EST)
From:      michael johnson <ahze@ahze.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gagnon_s@sympatico.ca
Subject:   ports/65150: [PATCH] x11/9box: [Respect CC]
Message-ID:  <200404040002.i34023NJ037255@gentoo.ahze.net>
Resent-Message-ID: <200404040010.i340AJ98076705@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         65150
>Category:       ports
>Synopsis:       [PATCH] x11/9box: [Respect CC]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 03 16:10:18 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     michael johnson
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #37: Sat Mar 27 18:30:44 EST 2004
>Description:
- Make CC distcc and ccache friendly
works for CC=gcc or CC=cc but it is not ccache or distcc friendly

Port maintainer (gagnon_s@sympatico.ca) is cc'd.

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- 9box-0.2.1_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11/9box/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	3 Apr 2004 20:46:07 -0000	1.6
+++ Makefile	3 Apr 2004 23:54:58 -0000
@@ -24,7 +24,8 @@
 BUILD_WRKSRC=	${WRKSRC}/src
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \
+	@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g; \
+		s|%%CC%%|${CC}|g' \
 		${WRKSRC}/src/Makefile
 
 do-install:
Index: files/patch-src::Makefile
===================================================================
RCS file: /home/ncvs/ports/x11/9box/files/patch-src::Makefile,v
retrieving revision 1.1
diff -u -r1.1 patch-src::Makefile
--- files/patch-src::Makefile	23 Jul 2003 19:45:43 -0000	1.1
+++ files/patch-src::Makefile	3 Apr 2004 23:55:25 -0000
@@ -1,7 +1,7 @@
 --- src/Makefile.orig	Tue Oct 29 17:20:46 2002
 +++ src/Makefile	Wed Jul 23 21:35:39 2003
 @@ -1,10 +1,14 @@
-+CC?=		cc
++CC=		%%CC%%
 +CFLAGS+=	-g -I. -I%%X11BASE%%/include
 +LIBS+=		-L%%X11BASE%%/lib -lX11
 +
--- 9box-0.2.1_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?200404040002.i34023NJ037255>