ports/163746: FreeBSD Port x11-toolkits/py-qt4-gui OPTIONSFILE Patch
A.J. Kehoe IV (Nanoman)
npSLI5K0 at nanoman.ca
Sat Dec 31 22:40:12 UTC 2011
>Number: 163746
>Category: ports
>Synopsis: FreeBSD Port x11-toolkits/py-qt4-gui OPTIONSFILE Patch
>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: Sat Dec 31 22:40:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: A.J. Kehoe IV (Nanoman)
>Release: 8.2
>Organization:
Nanoman's Company
>Environment:
FreeBSD localhost 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:07:27 UTC 2011 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Some ports management scripts override the default "OPTIONSFILE" for each port by defining it as an environment variable. In the x11-toolkits/py-qt4-gui Makefile, this is overridden, thus causing problems for some ports management scripts.
>How-To-Repeat:
1. Install a ports management script that overrides the default "OPTIONSFILE" for each port.
2. cd /usr/ports/x11-toolkits/py-qt4-gui
3. OPTIONSFILE="/example/options" make config
4. Notice that "/example/options" was not created.
>Fix:
mv /usr/ports/x11-toolkits/py-qt4-gui/Makefile /usr/ports/x11-toolkits/py-qt4-gui/Makefile.old
sed 's/^OPTIONSFILE=/OPTIONSFILE?=/' /usr/ports/x11-toolkits/py-qt4-gui/Makefile.old > /usr/ports/x11-toolkits/py-qt4-gui/Makefile
Patch attached with submission follows:
--- ports/x11-toolkits/py-qt4-gui/Makefile.old 2011-10-16 18:50:48.000000000 -0400
+++ ports/x11-toolkits/py-qt4-gui/Makefile 2011-12-31 17:29:23.000000000 -0500
@@ -31,7 +31,7 @@
TRACING "Enable tracing in generated code" off
PATCHDIR= ${PORTSDIR}/devel/py-qt4-core/files
-OPTIONSFILE= ${PORT_DBDIR}/py-qt4-${PORTNAME}/options
+OPTIONSFILE?= ${PORT_DBDIR}/py-qt4-${PORTNAME}/options
SIPDIR= ${PREFIX}/share/py-sip
QSCIDIR= ${PREFIX}/share/qt4/qsci
CONFIGURE_ENV+= PYQT4_COMPONENT="${PORTNAME}"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list