Date: Wed, 14 Aug 2002 04:35:27 -0400 (EDT) From: Alan Eldridge <ports@geeksrus.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: josh@ican.net Subject: ports/41656: databases/db: ${WRKSRC}/examples_java is now a symlink, so install command must change slightly Message-ID: <200208140835.g7E8ZRpX027821@wwweasel.geeksrus.net>
next in thread | raw e-mail | index | archive | help
>Number: 41656 >Category: ports >Synopsis: databases/db: ${WRKSRC}/examples_java is now a symlink, so install command must change slightly >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 14 01:40:08 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Alan Eldridge >Release: FreeBSD 4.6-STABLE i386 >Organization: Geeksrus.NET >Environment: System: FreeBSD wwweasel.geeksrus.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Wed Aug 7 21:42:28 EDT 2002 root@wwweasel.geeksrus.net:/usr/obj/usr/src/sys/WWWEASEL i386 >Description: NOTE: if maintainer is not committer, would like permission to commit as soon as possible. Thanks. examples_java is now a symlink, so to tar up contents to install it, we must specify examples_java/., not just examples_java/. marked high prio since this should go in pre-4.7 and it prevents building of binary package. stupid hack inserted at top of post-install: is needed because flawed package won't uninstall right (can't rmdir a symlink). >How-To-Repeat: >Fix: ==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<== Index: databases/db/Makefile =================================================================== RCS file: /home/ncvs/ports/databases/db/Makefile,v retrieving revision 1.23 diff -u -3 -r1.23 Makefile --- databases/db/Makefile 14 May 2002 02:46:00 -0000 1.23 +++ databases/db/Makefile 14 Aug 2002 08:22:58 -0000 @@ -23,10 +23,11 @@ --enable-dump185 --enable-cxx post-install: + @-${RM} -fr ${PREFIX}/share/examples/db2 ${MKDIR} ${PREFIX}/share/examples/db2 cd ${WRKSRC}/..; \ - tar -cf - --exclude tags examples/ examples_cxx/ examples_java/ | \ - ( cd ${PREFIX}/share/examples/db2; tar xf - ) + tar -cf - --exclude tags examples/ examples_cxx/ examples_java/. \ + | ( cd ${PREFIX}/share/examples/db2; tar xf - ) @${ECHO_MSG} "" @${ECHO_MSG} "Java support for ${PKGNAME} is *not* built by default, and requires that you" @${ECHO_MSG} "have a working copy of the JDK (v1.1) installed." ==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<== >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?200208140835.g7E8ZRpX027821>