summaryrefslogtreecommitdiff
path: root/gdc/Pkgfile
diff options
context:
space:
mode:
authorDanny Rawlins <romster@shortcircuit.net.au>2007-05-16 17:19:11 +1000
committerDanny Rawlins <romster@shortcircuit.net.au>2007-05-16 17:19:11 +1000
commita56a0c95c057d2df47906677705363d8d68c2ccb (patch)
tree41e23e895bc474b3723a310ba74b5d009ba2c975 /gdc/Pkgfile
parent2a0d0179d497dd9f6f76758d4c0ed11bd834bd3f (diff)
downloadcontrib-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/Pkgfile4
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

Generated by cgit