Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Aug 1996 23:54:27 -0400 (EDT)
From:      Chuck Robey <chuckr@glue.umd.edu>
To:        "David E. O'Brien" <obrien@Nuxi.cs.ucdavis.edu>
Cc:        FreeBSD ports list <freebsd-ports@freebsd.org>
Subject:   Re: need advice with configuring
Message-ID:  <Pine.OSF.3.95.960817235303.18714B-100000@protocol.eng.umd.edu>
In-Reply-To: <199608180225.TAA10046@relay.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 17 Aug 1996, David E. O'Brien wrote:

> I've got a package that unpacks to 
> 
>     ${WRKDIR}/foo/
>                  /src
>                  /include
> It needs to run GNU's autoconf from ${WRKDIR}/foo/, and it should be
> built from ${WRKDIR}/foo/src.  
> 
> I set ${WRKSRC}=${WRKDIR}/foo/src, and
> CONFIGURE_SCRIPT=${WRKDIR}/foo/configure.  However that make configure
> produce ${WRKDIR}/foo/src/src/Makefile and
> ${WRKDIR}/foo/src/include/config.h.  I thought I could just move Makefile
> to ${WRKSRC} and build, but the Makefile gets things set wrong in this
> case and won't build.
> 
> Anybody have any solutions other than have an explicit ``do-configure''
> target?

This is rather amazing, as every configure script I've seen deposits at
least one Makefile in the same dir that you configure it in.  It does
sound like you're going to need the configure script in scripts.

> 
> -- David    (obrien@cs.ucdavis.edu)
> 

----------------------------+-----------------------------------------------
Chuck Robey                 | Interests include any kind of voice or data 
chuckr@eng.umd.edu          | communications topic, C programming, and Unix.
9120 Edmonston Ct #302      |
Greenbelt, MD 20770         | I run Journey2 and n3lxx, both FreeBSD
(301) 220-2114              | version 2.2 current -- and great FUN!
----------------------------+-----------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.95.960817235303.18714B-100000>