I don't think that costs too much effort and I think it would be even a nice feature.
Why should we have separate ABS tree for each operating system? That sound a lot of more effort. But well, this is just an opinion.
Cheers,
Antonio Huete
Let me get this correct. You want to add a PREFIX option inAntonio Huete Jimenez wrote:
> I was thinking a way of changing --prefix= used in configure. I think
> it's desirable to have a chance to change this to another directory,
> specially in BSD where a lot of userland applications should not be
> replaced with packages.
>
> pkgsrc does that by installing on /usr/pkg its bin, doc, lib, etc ...
>
> We could add to makepkg.conf the option PREFIX so we can use later
> $PREFIX in PKGBUILD. For Archlinux we could specify /usr by default
> and use /usr/pac for others, or whatever the user needs to.
> This wouldn't affect ABS behaviour in Archlinux IMHO
>
> What do you think guys? :)
makepkg.conf so then people will use "./configure --prefix=${PREFIX}" in
the PKGBUILDs and thus PKGBUILDs are portable across operating systems?
If I interpreted you right there, it seems a bit of a waste of time to
me. When writing an Arch PKGBUILD, why would anybody write "${PREFIX}"
instead of "/usr". One is a lot simpler, clearer and shorter and when
writing a PKGBUILD for Arch, you are targeting Arch not every other
operating system.
Also, if porting Arch PKGBUILDs to other operating systems, changing the
prefix is likely to be the easy part...
Allan
_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev