ports/106162: [PATCH]: x11-clocks/buici-clock: Fix xo/configure with non-standard X11BASE
Frank J. Laszlo
laszlof at FreeBSD.org
Fri Dec 1 22:50:24 UTC 2006
>Number: 106162
>Category: ports
>Synopsis: [PATCH]: x11-clocks/buici-clock: Fix xo/configure with non-standard X11BASE
>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: Fri Dec 01 22:50:22 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Frank J. Laszlo
>Release: FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Dec 10 03:18:20 UTC 2005 kensmith at freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386
>Description:
This patch will fix an issue reported on pointyhat [1] that has to do with CONFIGURE_ARGS not being passed to a
secondary configure file. CONFIGURE_ARGS is successfully passed to WRKSRC/configure, but not to
WRKSRC/xo/configure. This went unnoticed due to X11BASE always being set to its default location, /usr/X11R6.
I think this patch is rather hack'ish, but it does work, and I cannot think of any other way of handling it.
The Maintainer has been CC'd.
>How-To-Repeat:
>Fix:
--- buici-clock-0.4.5-X11BASE.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/x11-clocks/buici-clock/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile 19 Jul 2006 21:06:02 -0000 1.4
+++ Makefile 1 Dec 2006 22:38:57 -0000
@@ -26,5 +26,8 @@
post-patch:
@${REINPLACE_CMD} -e 's,_=,+=,' ${WRKSRC}/xo/Makefile.in
+ @${MV} ${WRKSRC}/xo/configure ${WRKSRC}/xo/configure.a
+ @${ECHO_CMD} "${WRKSRC}/xo/configure.a ${CONFIGURE_ARGS} $$@" > ${WRKSRC}/xo/configure
+ @${CHMOD} 755 ${WRKSRC}/xo/configure
.include <bsd.port.mk>
--- buici-clock-0.4.5-X11BASE.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list