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

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

>Number:         106057
>Category:       ports
>Synopsis:       [PATCH] x11-wm/windowlab: 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:04 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Rong-En Fan
>Release:        FreeBSD 6.2-PRERELEASE amd64
>Organization:
NTU CSIE
>Environment:
>Description:
- Respect X11BASE, CC
- Use MANPREFIX for manual pages

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

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

--- windowlab-1.33.patch begins here ---
Index: Makefile
===================================================================
RCS file: /big/freebsd-cvsup/ncvs/ports/x11-wm/windowlab/Makefile,v
retrieving revision 1.14
diff -u -u -r1.14 Makefile
--- Makefile	18 Oct 2005 12:11:03 -0000	1.14
+++ Makefile	30 Nov 2006 11:07:39 -0000
@@ -26,9 +26,13 @@
 
 PORTDOCS=	CHANGELOG README
 
+post-patch:
+	@${REINPLACE_CMD} -e 's,^CC =,CC ?=,' \
+		-e 's,/usr/X11R6,${X11BASE},g' ${WRKSRC}/Makefile
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/windowlab ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/windowlab.1x ${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/windowlab.1x ${MANPREFIX}/man/man1
 	${MKDIR} ${PREFIX}/etc/windowlab
 	${INSTALL_DATA} ${WRKSRC}/windowlab.menurc ${PREFIX}/etc/windowlab/menurc
 .if !defined(NOPORTDOCS)
--- windowlab-1.33.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.kAUB8CKp082559>