ports/172561: [maintainer update] x11-wm/blackbox to use new OPTIONS
Andrew J. Caines
A.J.Caines at halplant.com
Tue Oct 9 22:30:33 UTC 2012
>Number: 172561
>Category: ports
>Synopsis: [maintainer update] x11-wm/blackbox to use new OPTIONS
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 09 22:30:32 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Andrew J. Caines
>Release: FreeBSD 9.1-PRERELEASE amd64
>Organization:
H.A.L. Plant
>Environment:
System: FreeBSD hal9000 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Mon Sep 24 19:51:13 EDT 2012 root at hal9000:/usr/obj/usr/src/sys/HAL9000 amd64
>Description:
Add new style OPTIONS to port.
>How-To-Repeat:
>Fix:
Apply patch:
diff -ruN blackbox-0.70.1_4/Makefile blackbox/Makefile
--- blackbox-0.70.1_4/Makefile 2011-10-19 23:33:06.000000000 -0400
+++ blackbox/Makefile 2012-10-08 19:21:22.000000000 -0400
@@ -28,7 +28,7 @@
.include <bsd.port.options.mk>
-.if defined(WITH_TOOLS_ONLY)
+.if ${PORT_OPTIONS:MTOOLS_ONLY}
PKGNAMESUFFIX= -tools
COMMENT+= (tools only)
MAKE_ARGS= SUBDIRS="doc lib util" bin_PROGRAMS=bsetroot
@@ -43,7 +43,7 @@
@${REINPLACE_CMD} -e 's/_XUTIL_H_/_X11&/' ${WRKSRC}/lib/Util.hh
post-install:
-.if defined(WITH_TOOLS_ONLY)
+.if ${PORT_OPTIONS:MTOOLS_ONLY}
@${REINPLACE_CMD} -E '/[^s]\/blackbox|bstyleconvert|lib|include/d' \
${TMPPLIST}
${INSTALL_MAN} ${MAN1:S#^#${WRKSRC}/doc/#} ${MANPREFIX}/man/man1
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list