Date: Mon, 17 Oct 2005 18:55:11 +0200 (CEST) From: Stefan Walter <sw@gegenunendlich.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/87575: [MAINTAINER] net/py24-GeoIP: respect ${LOCALBASE} Message-ID: <20051017165511.7768D3951@kyuzo.dunkelkammer.void> Resent-Message-ID: <200510171700.j9HH0YNA080027@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 87575 >Category: ports >Synopsis: [MAINTAINER] net/py24-GeoIP: respect ${LOCALBASE} >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: Mon Oct 17 17:00:33 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Stefan Walter >Release: FreeBSD 5.4-STABLE i386 >Organization: Infinity Approximation Task Force >Environment: System: FreeBSD kyuzo.dunkelkammer.void 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Oct 12 19:52:11 CEST 2005 >Description: Respect ${LOCALBASE} in the Python Distutils script. (Noticed by kris/ports cluster.) Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- py24-GeoIP-1.2.1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/cvs/FreeBSD/ports/net/py-GeoIP/Makefile,v retrieving revision 1.3 diff -u -u -r1.3 Makefile --- Makefile 4 Sep 2005 12:56:30 -0000 1.3 +++ Makefile 16 Oct 2005 20:52:48 -0000 @@ -19,6 +19,7 @@ USE_PYTHON= yes USE_PYDISTUTILS=yes +USE_REINPLACE= yes EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} EXAMPLE_FILES= README test.py test_city.py test_org.py test_region.py @@ -31,6 +32,9 @@ %%PORTDOCS%%%%EXAMPLESDIR%%/test_region.py PLIST_DIRS= %%PORTDOCS%%%%EXAMPLESDIR%% +post-patch: + ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/setup.py + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${EXAMPLESDIR} --- py24-GeoIP-1.2.1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051017165511.7768D3951>