Ako sa spravne pouziva portupgrade?
Rudolf Cejka
cejkar at fit.vutbr.cz
Thu Sep 25 14:59:49 CEST 2003
Andrej Bojda wrote (2003/09/25):
> A co ked bolo napr.: php4 instalovane z portov s nejakymi
> specialnymi volbami ? Pouzije ich portupgrade automaticky alebo
> ich treba zadat v prikaze ?
Je potreba je jednou zadat do /usr/local/etc/pkgtools.conf, a pak uz
mate pokoj. Portinstall/portupgrade pouzivejte bez dalsich parametru.
Ukazka z pkgtools.conf napr.:
MAKE_ARGS = {
...
'print/ghostscript-gnu' => 'A4=yes BATCH=yes',
'multimedia/mplayer' => 'WITH_GUI=yes',
'graphics/sane-frontends' => 'WITH_GIMP=yes',
'graphics/xsane' => 'WITH_GIMP=yes',
...
}
AFTERINSTALL = {
...
'print/acroread5' =>
%|sed -i "" '2a\\\nLC_ALL=C ; export LC_ALL\n' /usr/local/bin/acroread5|,
...
}
--
Rudolf Cejka <cejkar at fit.vutbr.cz> http://www.fit.vutbr.cz/~cejkar
Brno University of Technology, Faculty of Information Technology
Bozetechova 2, 612 66 Brno, Czech Republic
More information about the Users-l
mailing list