r450663 (basic flavors) breaks WRKDIRPREFIX='' for complex ports

Bryan Drewery bdrewery at FreeBSD.org
Wed Nov 15 20:10:59 UTC 2017


On 11/15/2017 11:57 AM, Lev Serebryakov wrote:
> On 15.11.2017 22:27, Bryan Drewery wrote:
> 
>>> % make WRKDIRPREFIX='' extract
>>> make[1]: don't know how to make
>>> /usr/home/lev/FreeBSD/ports/devel/subversion/work/.extract_done.subversion._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!
> 
> 

Use it as a make argument not an environment variable.
% make extract WRKDIRPREFIX=''

Works:

> ~/svn/ports/devel/subversion # WRKDIRPREFIX=/usr/local/ports make extract WRKDIRPREFIX=''
> 
> 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
> /!\ WARNING /!\
> 
> You have security/openssl installed but do not have
> DEFAULT_VERSIONS+=ssl=openssl set in your make.conf
> 
> ===>  License APACHE20 accepted by the user
> ===>   subversion-1.9.7 depends on file: /usr/local/sbin/pkg - found
> => subversion-1.9.7.tar.bz2 doesn't seem to exist in /mnt/distfiles/subversion19.
> => Attempting to fetch http://www.apache.org/dist/subversion/subversion-1.9.7.tar.bz2
> subversion-1.9.7.tar.bz2                      100% of 7697 kB 4298 kBps 00m02s
> ===> Fetching all distfiles required by subversion-1.9.7 for building
> ===>  Extracting for subversion-1.9.7
> => 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 ?=
    WRKDIRPREFIX?= /usr/local/...

-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20171115/ccd662e6/attachment.sig>


More information about the freebsd-ports mailing list