Subject: pkg/32075: Solaris' test program does not have a "-e" option
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <ykomatsu@akaumigame.org>
List: pkgsrc-bugs
Date: 11/15/2005 04:47:01
>Number: 32075
>Category: pkg
>Synopsis: Solaris' test program does not have a "-e" option
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Nov 15 04:47:00 +0000 2005
>Originator: Yoshito Komatsu
>Release: NetBSD 3.0_BETA
>Organization:
>Environment:
System: NetBSD sv5.ln.akaumigame.org 3.0_BETA NetBSD 3.0_BETA XENU_LNAKAUMIGAMEORG) #0: Fri Aug 26 16:40:24 JST 2005 komatsu@sv5.ln.akaumigame.org:/usr/src/sys/arch/i386/compile/XENU_LNAKAUMIGAMEORG i386
Architecture: i386
Machine: i386
>Description:
Solaris' test program does not have a "-e" option,
and zope3 configure script failed.
ftp://ftp0.mh.bbc.co.uk/pub/pkgsrc/pkgstat/20051114.1024/www/zope3/.broken.build1.html
>How-To-Repeat:
Build www/zope3 on SunOS 5.9/sparc.
>Fix:
To fix this problem, we should a "-f" option instead of a "-e" option
in the configure script.
$NetBSD$
--- configure.orig 2005-10-03 03:52:41.000000000 +0900
+++ configure
@@ -211,7 +211,8 @@ else
out ""
fi
-if [ -e "$prefix" -a ! "$FORCE_APP_HOME" ] ; then
+#if [ -e "$prefix" -a ! "$FORCE_APP_HOME" ] ; then
+if [ -f "$prefix" -a ! "$FORCE_APP_HOME" ] ; then
echo 2>&1 "Installation directory $prefix already exists."
echo 2>&1 "Specify a directory that isn't being used, or"
echo 2>&1 "use --force to use it anyway."