On 16/01/2015 15:51, Patrick Powell wrote:
> On 01/15/15 09:00, Roger Marquis wrote:
>>> This sounds like you, like many other people have done in the past,
>>> have
>>> built an in-house solution based on the tools available at the time,
>>> which includes 'make package'
>>
>> I wouldn't call it an in-house solution since the package target is a
>> feature of the ports infrastructure.  We simply 'make package' and
>> install other systems from the resulting package.
>>
>> This does not, however, appear to be as well supported by portsng/pkgng
>> as it was in the previous versions.  Now it just exits with no message
>> and a 0 exit-code without creating the package unless you've created
>> /usr/ports/packages and/or specified one or more of WRKDIRPREFIX,
>> PACKAGES and PKGREPOSITORY.
>>
>> What documentation there is seems to be based on older versions (like
>> much of the FreeBSD website) and I haven't found anything on the
>> differences between 'make package' and Poudriere.
>>
>> Roger
>> _______________________________________________
>> freebsd-ports@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
>>
> This is actually a side effect of the STAGING implementation.  The
> package file is put into the
> port (created) work sub directory.   Now if I could only find the
> documentation that tells me how to put, say,
> WORK_DIRECTORY=/var/tmp/work  into the /etc/make.conf file or
> something similar I would be
> a very (well, not so grumpy) happy camper.  I read this somewhere once
> but I cannot find
> it again.  WRKDIRPREFIX?  WORKDIRPREFIX?
>
>From looking in /usr/ports/Mk/bsd.port.mk
I think you want to set one of the following in make.conf

# WRKDIRPREFIX  - The place to root the temporary working directory
#                                 hierarchy.
#                                 Default: none
# WRKDIR                - A temporary working directory that gets
*clobbered* on clean
#                                 Default: ${WRKDIRPREFIX}${.CURDIR}/work

not the most intuitive place to look but I guess thats why the BUGS
section of PORTS(7) says
BUGS
     Ports documentation is split over four places --
     /usr/ports/Mk/bsd.port.mk, The Porter's Handbook, the ``Packages and
     Ports'' chapter of The FreeBSD Handbook, and this manual page.



Vince

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to