Created attachment 143580 [details] Add STAGEDIR to Makefile Patch to update ports/net/nph/Makefile to support staged port builds.
Created attachment 143591 [details] nph.patch
I've made some improvements in your patch. Can you check if it's working fine? Thanks!
(In reply to Danilo Egea Gondolfo from comment #2) > I've made some improvements in your patch. Can you check if it's working > fine? > > Thanks! It seems to work but I get this warning when packaging: pkg-static: fopen(/usr/ports/Keywords/sample.yaml): No such file or directory pkg-static: unknown keyword sample, ignoring @sample
The system you used to test is with the ports updated? This file was added 2 months ago. http://svnweb.freebsd.org/ports?view=revision&revision=351064
(In reply to Danilo Egea Gondolfo from comment #4) > The system you used to test is with the ports updated? This file was added 2 > months ago. http://svnweb.freebsd.org/ports?view=revision&revision=351064 Yes the machine was freshly installed less than 2 weeks ago.
And how do you keep your ports updated? Via subversion?
portsnap
I've extracted the ports with portsnap and the file sample.yaml just was there. Furthermore, the port had passed on the tests on redports https://redports.org/buildarchive/20140610032702-40387/ Can you update your ports and try again? Just to make sure...
Re-downloaded the ports tree and the error has gone away.
A commit references this bug: Author: danilo Date: Wed Jun 11 14:53:07 UTC 2014 New revision: 357487 URL: http://svnweb.freebsd.org/changeset/ports/357487 Log: - Add stage support PR: ports/190845 Submitted by: Jim Pirzyk <pirzyk@FreeBSD.org> Changes: head/net/nph/Makefile head/net/nph/pkg-plist
Committed with some changes. Thanks!