diff options
author | Danny Rawlins <romster@shortcircuit.net.au> | 2007-05-16 17:19:11 +1000 |
---|---|---|
committer | Danny Rawlins <romster@shortcircuit.net.au> | 2007-05-16 17:19:11 +1000 |
commit | a56a0c95c057d2df47906677705363d8d68c2ccb (patch) | |
tree | 41e23e895bc474b3723a310ba74b5d009ba2c975 /gdc/Pkgfile | |
parent | 2a0d0179d497dd9f6f76758d4c0ed11bd834bd3f (diff) | |
download | contrib-a56a0c95c057d2df47906677705363d8d68c2ccb.tar.gz contrib-a56a0c95c057d2df47906677705363d8d68c2ccb.tar.xz |
gdc: change from prt-get to pkginfo to check for installed packages
Diffstat (limited to 'gdc/Pkgfile')
-rw-r--r-- | gdc/Pkgfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdc/Pkgfile b/gdc/Pkgfile index dda951ec6..6374e4671 100644 --- a/gdc/Pkgfile +++ b/gdc/Pkgfile @@ -73,7 +73,7 @@ build() { done # install distcc symlinks if distcc is installed - if prt-get listinst distcc > /dev/null; then + if pkginfo -i |grep '^distcc '; then install -d $PKG/usr/lib/distcc for c in gdc gdmd; do cd $PKG/usr/lib/distcc && ln -s ../../bin/distcc $c @@ -81,7 +81,7 @@ build() { fi # install ccache symlinks if ccache is installed - if prt-get listinst ccache > /dev/null; then + if pkginfo -i |grep '^ccache '; then install -d $PKG/usr/lib/ccache for c in gdc gdmd; do cd $PKG/usr/lib/ccache && ln -s ../../bin/ccache $c |