Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Nov 2006 19:08:46 +0800 (CST)
From:      Rong-En Fan <rafan@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ppl@nbnet.nb.ca
Subject:   ports/106058: [PATCH] x11-wm/weewm: Respect X11BASE and CC
Message-ID:  <200611301108.kAUB8k1o029220@svm.csie.ntu.edu.tw>
Resent-Message-ID: <200611301110.kAUBA70U057405@freefall.freebsd.org>

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

>Number:         106058
>Category:       ports
>Synopsis:       [PATCH] x11-wm/weewm: Respect X11BASE and 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:   Thu Nov 30 11:10:07 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Rong-En Fan
>Release:        FreeBSD 6.2-PRERELEASE amd64
>Organization:
NTU CSIE
>Environment:
>Description:
- Respect X11BASE and CC

Port maintainer (ppl@nbnet.nb.ca) is cc'd.

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

--- weewm-0.0.2,1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /big/freebsd-cvsup/ncvs/ports/x11-wm/weewm/Makefile,v
retrieving revision 1.4
diff -u -u -r1.4 Makefile
--- Makefile	8 Oct 2005 04:00:02 -0000	1.4
+++ Makefile	30 Nov 2006 11:08:24 -0000
@@ -17,6 +17,10 @@
 PLIST_FILES=	bin/weewm
 USE_X_PREFIX=	yes
 
+post-patch:
+	@${REINPLACE_CMD} -e 's,^CC=,CC?=,' -e 's,/usr/X11R6,${X11BASE},g' \
+		${WRKSRC}/src/Makefile
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/weewm ${PREFIX}/bin
 
--- weewm-0.0.2,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?200611301108.kAUB8k1o029220>