prevent a tarbar from being unpacked during pkgmk?
Hi, I've been trying to package a port which needs an external tarball during the execution of ./configure, but pkgmk always unpack all tarballs. I wonder what is the standard way to do this? Should I pack them again? -phi
On 2016-11-18 17:34, phi wrote:
I've been trying to package a port which needs an external tarball during the execution of ./configure, but pkgmk always unpack all tarballs. I wonder what is the standard way to do this? Should I pack them again?
I never had this problem, but using the $PKGMK_SOURCE_DIR variable to point to your tarball would be a slightly less sucky way of doing it. Alan
It's a nice trick, thank you. -phi At 2016-11-18 16:39:58, "Alan Mizrahi" <alan+crux@mizrahi.com.ve> wrote:
On 2016-11-18 17:34, phi wrote:
I've been trying to package a port which needs an external tarball during the execution of ./configure, but pkgmk always unpack all tarballs. I wonder what is the standard way to do this? Should I pack them again?
I never had this problem, but using the $PKGMK_SOURCE_DIR variable to point to your tarball would be a slightly less sucky way of doing it.
Alan
On Fri, 18 Nov 2016, phi wrote:
Hi, I've been trying to package a port which needs an external tarball during the execution of ./configure, but pkgmk always unpack all tarballs. I wonder what is the standard way to do this? Should I pack them again?
-phi
Don't include it in the source array. Retrieve it in the build function. Have a look at /usr/ports/contrib/ghc/Pkgfile for an idea. -Daryl
Thank you. -phi At 2016-11-19 00:23:14, "Daryl F" <wyatt@prairieturtle.ca> wrote:
On Fri, 18 Nov 2016, phi wrote:
Hi, I've been trying to package a port which needs an external tarball during the execution of ./configure, but pkgmk always unpack all tarballs. I wonder what is the standard way to do this? Should I pack them again?
-phi
Don't include it in the source array. Retrieve it in the build function.
Have a look at /usr/ports/contrib/ghc/Pkgfile for an idea.
-Daryl
participants (3)
-
Alan Mizrahi
-
Daryl F
-
phi