Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2017 12:10:55 -0800
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        lev@FreeBSD.org, Mathieu Arnold <mat@FreeBSD.org>, "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Re: r450663 (basic flavors) breaks WRKDIRPREFIX='' for complex ports
Message-ID:  <72aff43f-8b52-9f75-b609-9019a3f661b2@FreeBSD.org>
In-Reply-To: <aac822a9-ee0b-470e-bc49-b90ccd7fad9c@FreeBSD.org>
References:  <53e15554-9f94-d436-4cfd-6796aaea1833@FreeBSD.org> <5ed224df-8a69-26d8-4bba-bc6fa53e30a4@FreeBSD.org> <290edb60-006d-a85e-8e62-7a4a5aac4763@FreeBSD.org> <f88cd5ce-2081-3458-8790-cfda98e0deff@FreeBSD.org> <aac822a9-ee0b-470e-bc49-b90ccd7fad9c@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--MvN7H2sOegjLpesMNTUkJgud4N9Uw1gP8
Content-Type: multipart/mixed; boundary="mxnqoQLN4c0NVUEvTBPkqIUJtRBXcEjc5";
 protected-headers="v1"
From: Bryan Drewery <bdrewery@FreeBSD.org>
To: lev@FreeBSD.org, Mathieu Arnold <mat@FreeBSD.org>,
 "freebsd-ports@freebsd.org" <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>
 <f88cd5ce-2081-3458-8790-cfda98e0deff@FreeBSD.org>
 <aac822a9-ee0b-470e-bc49-b90ccd7fad9c@FreeBSD.org>
In-Reply-To: <aac822a9-ee0b-470e-bc49-b90ccd7fad9c@FreeBSD.org>

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?72aff43f-8b52-9f75-b609-9019a3f661b2>