From owner-freebsd-ports@freebsd.org Wed Nov 15 20:10:59 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A62A5DE61BD for ; Wed, 15 Nov 2017 20:10:59 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 724DC79E45; Wed, 15 Nov 2017 20:10:59 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 9A23515B6B; Wed, 15 Nov 2017 20:10:58 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id C5CF98A78; Wed, 15 Nov 2017 20:10:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id p88wNdbFi4RQ; Wed, 15 Nov 2017 20:10:54 +0000 (UTC) Subject: Re: r450663 (basic flavors) breaks WRKDIRPREFIX='' for complex ports DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 4FC4E8A73 To: lev@FreeBSD.org, Mathieu Arnold , "freebsd-ports@freebsd.org" References: <53e15554-9f94-d436-4cfd-6796aaea1833@FreeBSD.org> <5ed224df-8a69-26d8-4bba-bc6fa53e30a4@FreeBSD.org> <290edb60-006d-a85e-8e62-7a4a5aac4763@FreeBSD.org> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <72aff43f-8b52-9f75-b609-9019a3f661b2@FreeBSD.org> Date: Wed, 15 Nov 2017 12:10:55 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MvN7H2sOegjLpesMNTUkJgud4N9Uw1gP8" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Nov 2017 20:10:59 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --MvN7H2sOegjLpesMNTUkJgud4N9Uw1gP8 Content-Type: multipart/mixed; boundary="mxnqoQLN4c0NVUEvTBPkqIUJtRBXcEjc5"; protected-headers="v1" From: Bryan Drewery To: lev@FreeBSD.org, Mathieu Arnold , "freebsd-ports@freebsd.org" Message-ID: <72aff43f-8b52-9f75-b609-9019a3f661b2@FreeBSD.org> Subject: Re: r450663 (basic flavors) breaks WRKDIRPREFIX='' for complex ports References: <53e15554-9f94-d436-4cfd-6796aaea1833@FreeBSD.org> <5ed224df-8a69-26d8-4bba-bc6fa53e30a4@FreeBSD.org> <290edb60-006d-a85e-8e62-7a4a5aac4763@FreeBSD.org> In-Reply-To: --mxnqoQLN4c0NVUEvTBPkqIUJtRBXcEjc5 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 11/15/2017 11:57 AM, Lev Serebryakov wrote: > On 15.11.2017 22:27, Bryan Drewery wrote: >=20 >>> % make WRKDIRPREFIX=3D'' extract >>> make[1]: don't know how to make >>> /usr/home/lev/FreeBSD/ports/devel/subversion/work/.extract_done.subve= rsion._usr_local. >>> Stop >>> >>> make[1]: stopped in /usr/home/lev/FreeBSD/ports/devel/subversion >>> *** Error code 2 >>> >>> Stop. >>> make: stopped in /usr/home/lev/FreeBSD/ports/devel/subversion >>> % > BTW, this command didn't create > "/usr/home/lev/FreeBSD/ports/devel/subversion/work" at all! >=20 >=20 Use it as a make argument not an environment variable. % make extract WRKDIRPREFIX=3D'' Works: > ~/svn/ports/devel/subversion # WRKDIRPREFIX=3D/usr/local/ports make ext= ract WRKDIRPREFIX=3D'' >=20 > You can have the repository created for you by defining > WITH_REPOSITORY_CREATION. >=20 > Make sure that: > * all your svn users are members of a common group > * this group is the group id of the db/ and locks/ > subdirectories of your repository > * the above subdirectories are writable by this group >=20 > Many useful scripts will be installed into /usr/local/share/subversion > /!\ WARNING /!\ >=20 > You have security/openssl installed but do not have > DEFAULT_VERSIONS+=3Dssl=3Dopenssl set in your make.conf >=20 > =3D=3D=3D> License APACHE20 accepted by the user > =3D=3D=3D> subversion-1.9.7 depends on file: /usr/local/sbin/pkg - fo= und > =3D> subversion-1.9.7.tar.bz2 doesn't seem to exist in /mnt/distfiles/s= ubversion19. > =3D> Attempting to fetch http://www.apache.org/dist/subversion/subversi= on-1.9.7.tar.bz2 > subversion-1.9.7.tar.bz2 100% of 7697 kB 4298 kBps= 00m02s > =3D=3D=3D> Fetching all distfiles required by subversion-1.9.7 for buil= ding > =3D=3D=3D> Extracting for subversion-1.9.7 > =3D> SHA256 Checksum OK for subversion19/subversion-1.9.7.tar.bz2. I don't see anything in r450663 that would change this behavior. WKRDIRPREFIX was not exported in bsd.port.mk so I don't see how it ever worked for you as an environment variable. However you could continue using an environment variable if your make.conf instead had a ?=3D WRKDIRPREFIX?=3D /usr/local/... --=20 Regards, Bryan Drewery --mxnqoQLN4c0NVUEvTBPkqIUJtRBXcEjc5-- --MvN7H2sOegjLpesMNTUkJgud4N9Uw1gP8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJaDJ9PAAoJEDXXcbtuRpfPI38H/RugYRc3zRvec1/o9h43eC9/ 7LKKc0CXyGhWV6p/eo+m36JC21Nm3dbHIZDxnpnk44P0MA9bKXZkaNE4VZPjrHbi Iimul9iTT5gcEpY7mAAeWR4fKQ/62K9gC990CN85bzUrNXLnLmwGnqnnif2Ht5Dt yUaKsq+r5bYRhNyc5qfoaltrW/lQTxG0eNDuko9VcpPCvDG2mkvsc+3I6VYVzT92 N5hpCfU//UNdfZaVSQ4Tt6pqA9Z3DWUB5afHFqtS7f92gfkpzLB4Fpv2GLc/CgvB jQs9uTP8gNH7Y37/le2g+XeKjxVo0vbLL28jFJIDmUBhOMLIH/MxSX1MqZ08FHg= =2Ztq -----END PGP SIGNATURE----- --MvN7H2sOegjLpesMNTUkJgud4N9Uw1gP8--