ports/65150: [PATCH] x11/9box: [Respect CC]
michael johnson
ahze at ahze.net
Sun Apr 4 00:10:19 UTC 2004
>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 at 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:
More information about the freebsd-ports-bugs
mailing list