Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Aug 2004 14:11:55 +1000
From:      Sam Lawrance <boris@brooknet.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/68331: [NEW PORT] graphics/jumpgis-postgis: JUMP support for reading and writing a PostGIS database
Message-ID:  <1092456714.26057.2.camel@dirk.no.domain>
In-Reply-To: <200406251520.i5PFKDDJ078050@freefall.freebsd.org>
References:  <200406251520.i5PFKDDJ078050@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-03UIirdiBg5ZCfYt5Asr
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

The REINPLACE to fix the jumpgis CLASSPATH fails after the port was
installed once. Add some parantheses to make things work the way I
intended:



--=-03UIirdiBg5ZCfYt5Asr
Content-Disposition: attachment; filename=patch
Content-Type: text/plain; name=patch
Content-Transfer-Encoding: 7bit

--- Makefile.orig	Sat Aug 14 13:41:55 2004
+++ Makefile	Sat Aug 14 13:37:21 2004
@@ -34,6 +34,6 @@
 	${INSTALL_DATA} ${WRKSRC}/lib/ext/postgisdriver-1.1.0.jar ${TARGET_DIR}/lib/ext/
 	${INSTALL_DATA} ${WRKSRC}/lib/ext/pg74jdbc3.jar ${TARGET_DIR}/lib/
 	@${ECHO_MSG} "---> Fixing CLASSPATH in ${PREFIX}/bin/jumpgis"
-	[ -e ${PREFIX}/bin/jumpgis ] && ${GREP} 'CLASSPATH=.*pg74jdbc3.jar' ${PREFIX}/bin/jumpgis || ${REINPLACE_CMD} 's/CLASSPATH=.*/&:$$LIB\/pg74jdbc3.jar/g' ${PREFIX}/bin/jumpgis && ${RM} ${PREFIX}/bin/jumpgis.bak
+	[ -e ${PREFIX}/bin/jumpgis ] && ${GREP} 'CLASSPATH=.*pg74jdbc3.jar' ${PREFIX}/bin/jumpgis || ( ${REINPLACE_CMD} 's/CLASSPATH=.*/&:$$LIB\/pg74jdbc3.jar/g' ${PREFIX}/bin/jumpgis && ${RM} ${PREFIX}/bin/jumpgis.bak )
 
 .include <bsd.port.mk>

--=-03UIirdiBg5ZCfYt5Asr--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1092456714.26057.2.camel>