ports/150342: [patch] net/pcbsd-netmanager does not respect PREFIX
David Naylor
naylor.b.david at gmail.com
Tue Sep 7 06:30:06 UTC 2010
>Number: 150342
>Category: ports
>Synopsis: [patch] net/pcbsd-netmanager does not respect PREFIX
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 07 06:30:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: David Naylor
>Release: FreeBSD-current
>Organization:
Private
>Environment:
>Description:
net/pcbsd-netmanager does not respect PREFIX.
>How-To-Repeat:
# port test
or
# make package KDE4_PREFIX=/usr/local
>Fix:
See attached patch. Patch also fixes some complaints by portlint.
Patch attached with submission follows:
diff -ur /usr/ports/net/pcbsd-netmanager/Makefile pcbsd-netmanager/Makefile
--- /usr/ports/net/pcbsd-netmanager/Makefile 2010-03-29 03:12:07.000000000 +0200
+++ pcbsd-netmanager/Makefile 2010-09-07 08:21:49.000000000 +0200
@@ -21,16 +21,18 @@
USE_GZIP= yes
USE_QMAKE= yes
-USE_KDE4= automoc4 kdehier kdeprefix kdelibs workspace
+USE_KDE4= automoc4 kdehier kdeprefix kdelibs workspace
+USE_LDCONFIG= yes
USE_QT_VER= 4
QT_COMPONENTS= corelib qmake_build moc_build rcc_build uic_build linguist
HAS_CONFIGURE= yes
+MAKE_ARGS= INSTALL_ROOT=${DESTDIR}
-QMAKE_ARGS= -unix -recursive ${QMAKE_PRO}
-QMAKE_PRO= pcbsdnetmanager.pro
+QMAKE_ARGS= -unix -recursive ${QMAKE_PRO}
+QMAKE_PRO= pcbsdnetmanager.pro
post-patch:
- @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
+ @${REINPLACE_CMD} -e 's|/usr/local/kde4|${PREFIX}|g' \
${WRKSRC}/pcbsdnetmanager.pro \
${WRKSRC}/src/NetworkManager/NetworkManager.pro \
${WRKSRC}/src/NetworkManagerAdmin/NetworkManagerAdmin.pro \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list