Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Sep 2001 22:55:47 +0400 (MSD)
From:      .@babolo.ru
To:        kris@obsecurity.org (Kris Kennaway)
Cc:        ports@FreeBSD.ORG
Subject:   Re: WRKDIR breakage in bsd.port.mk
Message-ID:  <200109021855.WAA27755@aaz.links.ru>
In-Reply-To: <20010901221728.A8932@xor.obsecurity.org> from "Kris Kennaway" at "Sep 1, 1 10:17:28 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway writes:
> 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?
this strings in /etc/make.conf work for me:

PACKAGES=${TMPDIR}
WRKDIRPREFIX=${TMPDIR}
MAKEOBJDIRPREFIX=${TMPDIR}

when TMPDIR defined (and TMPDIR always defined for me)

-- 
@BABOLO      http://links.ru/

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?200109021855.WAA27755>