Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Nov 2006 18:53:13 +0800 (CST)
From:      Rong-En Fan <rafan@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        logix@foobar.franken.de
Subject:   ports/106056: [PATCH] x11-clocks/wmbinclock: Respect X11BASE, CC, CFLAGS
Message-ID:  <200611301053.kAUArDOY016379@svm.csie.ntu.edu.tw>
Resent-Message-ID: <200611301100.kAUB0Qba056424@freefall.freebsd.org>

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611301053.kAUArDOY016379>