Subject: Path for rpm2pkg? (was: CVS commit: pkgsrc/mk)
To: Johnny C. Lam <jlam@NetBSD.org>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: pkgsrc-changes
Date: 08/11/2007 05:02:57
On Tue, Jul 31, 2007 at 05:42:41PM +0000, Johnny C. Lam wrote:
> 
> Module Name:	pkgsrc
> Committed By:	jlam
> Date:		Tue Jul 31 17:42:41 UTC 2007
> 
> Modified Files:
> 	pkgsrc/mk/extract: bsd.extract-vars.mk extract extract.mk
> 	pkgsrc/mk/tools: replace.mk
> 
> Log Message:
> Teach the extract module to extract RPMs with rpm2pkg.

Hmmm, are you sure about the path for rpm2pkg?

# which rpm2pkg
/usr/pkg/sbin/rpm2pkg

And extracting the www/nspluginwrapper failed:

===> Extracting for nspluginwrapper-0.9.91.3nb1
/pkgsrc/mk/extract/extract: /usr/pkg/bin/rpm2pkg: not found
*** Error code 127

Changing the bin to sbin in pkgsrc/mk/tools/replace.mk fixed that for me.

Regards,
Bernd