Date: Wed, 5 Dec 2001 19:38:07 -0800 (PST) From: Christopher Elkins <chrise@scardini.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/32546: Remove fully-qualified lib symlinks from devel/jakarta-ant Message-ID: <200112060338.fB63c7H80994@tlon.lan.scardini.com>
next in thread | raw e-mail | index | archive | help
>Number: 32546 >Category: ports >Synopsis: Remove fully-qualified lib symlinks from devel/jakarta-ant >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Dec 05 19:40:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Christopher Elkins >Release: FreeBSD 4.4-RELEASE i386 >Organization: >Environment: System: FreeBSD tlon.lan.scardini.com 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Fri Nov 30 17:22:23 PST 2001 chrise@tlon.lan.scardini.com:/usr/src/sys/compile/TLON i386 >Description: devel/jakarta-ant installs fully-qualified symlinks in ${PORTDESTDIR}/lib, which makes exporting ${LOCALBASE}/share/java problematic. For example, I export /usr/local/share/java and mount it on a number of different platforms (e.g., FreeBSD, Linux, OSX). It doesn't really make sense to export /usr/local (or even /usr/local/share) to these clients; so I simply mount server:/usr/local/share/java as /java. However, devel/jakarta-ant creates two fully-qualified links, which in the above example point to /usr/local/share/java/classes/jaxp.jar (and ...crimson.jar). If that mountpoint doesn't exist on the client, ant execution fails. >How-To-Repeat: Export /usr/local/share/java and mount it on a client as /java. Execute /java/jakarta-ant-1.4.1/bin/ant. >Fix: diff -c -r jakarta-ant.orig/Makefile jakarta-ant/Makefile *** jakarta-ant.orig/Makefile Wed Dec 5 17:07:17 2001 --- jakarta-ant/Makefile Wed Dec 5 17:09:53 2001 *************** *** 54,60 **** .endif ${RM} -f ${PORTDESTDIR}/lib/parser.jar ${INSTALL_DATA} ${_DISTDIR}/${DISTNAME}-optional.jar ${PORTDESTDIR}/lib/optional.jar ! ${LN} -sf ${LOCALBASE}/share/java/classes/jaxp.jar ${PORTDESTDIR}/lib ! ${LN} -sf ${LOCALBASE}/share/java/classes/crimson.jar ${PORTDESTDIR}/lib .include <bsd.port.mk> --- 54,60 ---- .endif ${RM} -f ${PORTDESTDIR}/lib/parser.jar ${INSTALL_DATA} ${_DISTDIR}/${DISTNAME}-optional.jar ${PORTDESTDIR}/lib/optional.jar ! ${LN} -sf ../../classes/jaxp.jar ${PORTDESTDIR}/lib ! ${LN} -sf ../../classes/crimson.jar ${PORTDESTDIR}/lib .include <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112060338.fB63c7H80994>