Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jul 2001 10:35:09 -0500
From:      Steve Price <steve@havk.org>
To:        Chris Elsworth <chris@shagged.org>
Cc:        ports@FreeBSD.ORG
Subject:   Re: Possibly unbuildable ports reminder
Message-ID:  <20010729103509.B63395@bsd.havk.org>
In-Reply-To: <20010729100923.A12043@shagged.org>; from chris@shagged.org on Sun, Jul 29, 2001 at 10:09:23AM %2B0100
References:  <200107281700.f6SH01h34901@freefall.freebsd.org> <20010729020522.A67919@shagged.org> <20010728201555.G34226@bsd.havk.org> <20010729022414.B69496@shagged.org> <20010728202857.H34226@bsd.havk.org> <20010729100923.A12043@shagged.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 29, 2001 at 10:09:23AM +0100, Chris Elsworth wrote:
> 
> fcron-1.1.1 is failing in the configure list because it can't find 
> /usr/local/etc which is specified in the ports Makefile. The directory 
> simply doesn't exist in the test environment? Or am I losing the plot?

Right the directory doesn't exist because each time a port is
built it is done with a clean /usr/local (among other directories).
The directory is not going to be get created until the install is
started and mtree uses /etc/mtree/BSD.local.dist to create it.

One way to hack up a fix would be to use something like this patch
and make the port USE_AUTOCONF.

steve@bsd(/usr/ports/sysutils/fcron/work/fcron-1.1.1)$ diff -u
configure.in.orig configure.in
--- configure.in.orig   Sun Jul 29 10:32:29 2001
+++ configure.in        Sun Jul 29 10:32:53 2001
@@ -201,13 +201,8 @@
     fi
     ;;
   *)
-    if test -d "$withval"; then
       etcdir="$withval"
       AC_MSG_RESULT($withval)
-    else
-      AC_MSG_ERROR([
-Directory $withval does not exist])
-    fi
     ;;
   esac ],
   if test -d "/etc"; then

> Are these lists automatically generated, so not sanity checked at all?

The entire package build is automated.  After pulling together
all the latest bits and getting things setup all you have to do
is run a single command and sit back and watch.

-steve

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?20010729103509.B63395>