[prev in list] [next in list] [prev in thread] [next in thread] 

List:       crux
Subject:    Re: Keeping changes to Pkgfiles
From:       Florian Weber <Florian.Weber () pfaffenhofen ! de>
Date:       2002-05-15 21:27:38
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 15 May 2002 23:09, Per Lidén wrote:
> The approach I personally like best (so far) is to simply make it possible
> to have two Pkgfiles: the original Pkgfile and another called
> Pkgfile.personal or something. pkgmk would source Pkgfile as usual and
> then source the Pkgfile.personal as well. The Pkgfile.personal only
> contains the variables and/or function you want to override.

I think it would make sense to put all local changes (=="Pkgfile.personal" 
into a separate hierarchy (e.g. "local"):

/usr/ports
  - base
     * foolib
     * barlib
  - opt
  - contrib
  - local
     - base
         * foolib
         * barlib
     - opt
     - contrib

This way it would be much easier to make backups of only the local changes 
(which is all that is needed)

With best regards,
Florian

- -- 
PGP key ID 1F198651
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE84tLKIHY1JB8ZhlERAiDoAKCInmLANjRZlWuy2x0MsK2r7YdwSgCggFNX
9hptglomWoGsbRB3Q2r5yOc=
=rr20
-----END PGP SIGNATURE-----

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic