Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2017 22:08:01 +0300
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        Bryan Drewery <bdrewery@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:  <290edb60-006d-a85e-8e62-7a4a5aac4763@FreeBSD.org>
In-Reply-To: <5ed224df-8a69-26d8-4bba-bc6fa53e30a4@FreeBSD.org>
References:  <53e15554-9f94-d436-4cfd-6796aaea1833@FreeBSD.org> <5ed224df-8a69-26d8-4bba-bc6fa53e30a4@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)
--GHaeQktkqOcoHHBI0Gec61j2QJrS1KRXL
Content-Type: multipart/mixed; boundary="7ARTSEdT4ogWKd57qIMXT4k7GFKX7FVEO";
 protected-headers="v1"
From: Lev Serebryakov <lev@FreeBSD.org>
Reply-To: lev@FreeBSD.org
To: Bryan Drewery <bdrewery@FreeBSD.org>, Mathieu Arnold <mat@FreeBSD.org>,
 "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Message-ID: <290edb60-006d-a85e-8e62-7a4a5aac4763@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>
In-Reply-To: <5ed224df-8a69-26d8-4bba-bc6fa53e30a4@FreeBSD.org>

--7ARTSEdT4ogWKd57qIMXT4k7GFKX7FVEO
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 15.11.2017 21:07, Bryan Drewery wrote:

> First, using "WRKDIRPREFIX=3D''" doesn't seem like a "supported feature=
".
> If there's docs or a specific commit to support such a thing then sure.=

 I've used it from my first day as ports committer. Maybe, it was not
supported, but it worked for tens of years :)

> However, It seems fine to me.
>> ~/svn/ports/devel/subversion # WRKDIRPREFIX=3D/usr/local/ports make -V=
 WRKDIR
>> /usr/local/ports/root/svn/ports/devel/subversion/work
>> ~/svn/ports/devel/subversion # WRKDIRPREFIX=3D/usr/local/ports make -V=
 WRKDIR WRKDIRPREFIX=3D
>> /root/svn/ports/devel/subversion/work
>> ~/svn/ports/devel/subversion # WRKDIRPREFIX=3D/usr/local/ports make -V=
 WRKDIR WRKDIRPREFIX=3D''
>> /root/svn/ports/devel/subversion/work
 -V works for me too. Real build doesn't work with these stange "Don't
know how to make" messages.

% pwd
/usr/home/lev/FreeBSD/ports/devel/subversion
% svnversion
454265
% make -V WRKDIR
/usr/local/build/ports/usr/home/lev/FreeBSD/ports/devel/subversion/work
% make -V WRKDIR WRKDIRPREFIX=3D''
/usr/home/lev/FreeBSD/ports/devel/subversion/work
% make extract

You can have the repository created for you by defining
WITH_REPOSITORY_CREATION.

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

Many useful scripts will be installed into /usr/local/share/subversion
=3D=3D=3D>  License APACHE20 accepted by the user
=3D=3D=3D>   subversion-1.9.7 depends on file: /usr/local/sbin/pkg - foun=
d
=3D=3D=3D> Fetching all distfiles required by subversion-1.9.7 for buildi=
ng
=3D=3D=3D>  Extracting for subversion-1.9.7
=3D> SHA256 Checksum OK for subversion19/subversion-1.9.7.tar.bz2.
mkdir:
/usr/local/build/ports/usr/home/lev/FreeBSD/ports/devel/subversion:
Permission denied
*** Error code 1

Stop.
make[1]: stopped in /usr/home/lev/FreeBSD/ports/devel/subversion
*** Error code 1

Stop.
make: stopped in /usr/home/lev/FreeBSD/ports/devel/subversion
% make WRKDIRPREFIX=3D'' extract
make[1]: don't know how to make
/usr/home/lev/FreeBSD/ports/devel/subversion/work/.extract_done.subversio=
n._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
%


--=20
// Lev Serebryakov


--7ARTSEdT4ogWKd57qIMXT4k7GFKX7FVEO--

--GHaeQktkqOcoHHBI0Gec61j2QJrS1KRXL
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE+W0coLX0MYtnSzMK6rA8WL/cR48FAloMkJlfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY5
NkQxQ0EwQjVGNDMxOEI2NzRCMzMwQUVBQjAzQzU4QkZEQzQ3OEYACgkQ6rA8WL/c
R4+UVRAAohbJ8ePrLR/Fw7NoBWFbi8uwVBrElJzUXCb6od91BVzBS/s5Jzaqhz89
nIAlzAAqyPbxr+4fTKiFiGPcBJOnhUmqz9nk9xSmpoNv6XRY+9J8w5yl4YkcSXGk
XMPzTxxFgzyDiCncyuHWr9/UGV6yPQMw3fUaR97BiECHDb3l/mbvzcEiJgR3We5B
Jd/ucE9oe0TyRJQv7zqKaKv/mq8qBQKUA/IlbWtuRuwn2kt3bVwL3SPVFqGjIX6s
4kZ8tWgPotRLf6qkjpevBtzJNVuqgu7KIY4rE1sQbSbgOlV89FwwamU9xfJ+64o4
goLwHYDx7ZSaLu5qIEixp4x18xFvn53NIo+8ZkHRjfumWg09ehS57tMSDQVIgPin
xg3FgAscnUykPQuuUvJ6TQBOJJEGqWKswqPS2pDnUhUaSyqjLNAJLONewICttLEY
0W7IXp7Y77OeIohpH2IBJrHPHBridEh77wCcLCbfT9ry1eGDT4IfyuH2zBVLWEyL
dlUwkGwqp1jCcNQrgotSdfL74BWWsHo6FoNqKC0WrvaGCZQKJz7f8frcKD/6O8Mz
eOal2rVPohlCdxPpKOjsFrQKOTAJhs0ORsJVQgIct8qehyP299MuuNlizNDe9Sa+
wVjJnor1yk0+HInnYVMtIY0GrU5nKn/tmBIkWzB7jdJuRA3t52I=
=hKrZ
-----END PGP SIGNATURE-----

--GHaeQktkqOcoHHBI0Gec61j2QJrS1KRXL--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?290edb60-006d-a85e-8e62-7a4a5aac4763>