pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [patch] pkgtools/autoswc modified for non-default, non-root install



Even better when I remember to include the attachment!

On Wed, Jul 01, 2015 at 10:36:51AM +0200, Andreas Kusalananda Kähäri wrote:
> Hi,
> 
> I'm a non-root user of pkgsrc on a few multi-user Linux installations.
> 
> I had a play around with pkgtools/autoswc and noticed that its Makefile
> contains hard-coded locations of /etc/mk.conf and /var/db/autoswc
> 
> The attached file is a patch for that.
> 
> (In the end, I'm not actually using this pkg, I'm just submitting the
> patch in case anyone else may benefit)
> 
> Cheers,

-- 
:: Andreas Kusalananda Kähäri, Bioinformatics Developer, BILS,
:: Uppsala University, Sweden
::----------------------------------------------------------------------
:: My other car is a cdr.
Index: Makefile
===================================================================
RCS file: /Users/akk/pkg/pkgsrc-cvs/pkgsrc/pkgtools/autoswc/Makefile,v
retrieving revision 1.21
diff -r1.21 Makefile
3a4
> PKGREVISION=	1
18,19c19,20
< CACHEDIR=		/var/db/autoswc
< MKCONF=			/etc/mk.conf
---
> CACHEDIR=		${VARBASE}/db/autoswc
> MKCONF=			${PKG_SYSCONFDIR}/mk.conf


Home | Main Index | Thread Index | Old Index