Date: Mon, 8 Oct 2012 20:58:40 -0400 (EDT) From: "Andrew J. Caines" <A.J.Caines@halplant.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/172561: [maintainer update] x11-wm/blackbox to use new OPTIONS Message-ID: <20121009005840.B66F668191@hal9000.halplant.net> Resent-Message-ID: <201210092230.q99MUXdr043835@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121009005840.B66F668191>