ports/106057: [PATCH] x11-wm/windowlab: Respect X11BASE and CC

Rong-En Fan rafan at FreeBSD.org
Thu Nov 30 11:10:08 UTC 2006


>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 at 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:



More information about the freebsd-ports-bugs mailing list