ports/106056: [PATCH] x11-clocks/wmbinclock: Respect X11BASE, CC, CFLAGS

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


>Number:         106056
>Category:       ports
>Synopsis:       [PATCH] x11-clocks/wmbinclock: Respect X11BASE, CC, CFLAGS
>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:00:25 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Rong-En Fan
>Release:        FreeBSD 6.2-PRERELEASE amd64
>Organization:
NTU CSIE
>Environment:
>Description:
- Respect X11BASE
- Respect CC, CFLAGS

Port maintainer (logix at foobar.franken.de) is cc'd.

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

--- wmbinclock-0.3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /big/freebsd-cvsup/ncvs/ports/x11-clocks/wmbinclock/Makefile,v
retrieving revision 1.6
diff -u -u -r1.6 Makefile
--- Makefile	13 May 2006 05:00:24 -0000	1.6
+++ Makefile	30 Nov 2006 10:52:31 -0000
@@ -20,6 +20,8 @@
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|#include <values.h>||' ${WRKSRC}/wmBinClock.c
+	@${REINPLACE_CMD} -e 's|^CC.*=|CC ?=|' -e 's|^CFLAGS.*=|CFLAGS +=|' \
+		-e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/Makefile
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/wmBinClock ${PREFIX}/bin
--- wmbinclock-0.3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list