ports/87575: [MAINTAINER] net/py24-GeoIP: respect ${LOCALBASE}

Stefan Walter sw at gegenunendlich.de
Mon Oct 17 17:00:35 UTC 2005


>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:



More information about the freebsd-ports-bugs mailing list