Date: Wed, 17 Jun 2009 18:49:34 GMT From: Kris Moore <kmoore@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/135675: ports/py-cups is broken with alternative LOCALBASE Message-ID: <200906171849.n5HInYBE062746@www.freebsd.org> Resent-Message-ID: <200906171850.n5HIo3SH037301@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 135675 >Category: ports >Synopsis: ports/py-cups is broken with alternative LOCALBASE >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: Wed Jun 17 18:50:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Kris Moore >Release: 7.2-PRERELEASE >Organization: iXsystems / PC-BSD >Environment: FreeBSD pcbsd 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #12: Fri Apr 17 15:37:58 EDT 2009 root@pcbsdx32-7:/usr/obj/pcbsd-build71/cvs/7.1-src/sys/PCBSD i386 >Description: The port py-cups has a instance of "/usr/local" hardcoded into it, which causes various python scripts to fail when using an alternative LOCALBASE, such as we do in PC-BSD. The attached patch does fix the issue though, confirmed here. >How-To-Repeat: >Fix: Patch attached with submission follows: --- Makefile.orig 2009-06-17 14:32:20.000000000 -0400 +++ Makefile 2009-06-17 14:32:48.000000000 -0400 @@ -28,4 +28,8 @@ PYDISTUTILS_EGGINFO=${PORTNAME}-1.0-py${PYTHON_VER}.egg-info PLIST_FILES= %%PYTHON_SITELIBDIR%%/cups.so +pre-configure: + ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ + ${WRKSRC}/cupsconnection.c + .include <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906171849.n5HInYBE062746>