Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Sep 2001 17:17:47 +0300
From:      Peter Pentchev <roam@ringlet.net>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        ports@FreeBSD.org
Subject:   Re: WRKDIR breakage in bsd.port.mk
Message-ID:  <20010902171747.B7221@ringworld.oblivion.bg>
In-Reply-To: <20010901221728.A8932@xor.obsecurity.org>; from kris@obsecurity.org on Sat, Sep 01, 2001 at 10:17:28PM -0700
References:  <20010901221728.A8932@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 01, 2001 at 10:17:28PM -0700, Kris Kennaway wrote:
> What's going on here?
> 
> # setenv WRKDIR /tmp/work
> # cd /usr/ports/security/sudo
> # make
> [...]
> ===>  Building for sudo-1.6.3.7_1
> make: don't know how to make real-build. Stop
> *** Error code 2
> 
> Stop in /usr/obj/xor/usr/ports/security/sudo/work/sudo-1.6.3p7.
> *** Error code 1
> 
> This happens for any port with a non-empty configure target and a
> build target.  The real-build target in <bsd.port.mk> seems to be
> executed twice, once with ${.CURDIR} in /usr/ports/security/sudo and
> the second time with ${.CURDIR} in ${WRKDIR}, at which point it fails.
> 
> Would anyone care to look into this more?

Are you sure you really need to set WRKDIR, and not merely WRKDIRPREFIX?

G'luck,
Peter

-- 
This sentence would be seven words long if it were six words shorter.

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?20010902171747.B7221>