From 36f79362e39d9e78b3686a5b88ad8ccb60c02adb Mon Sep 17 00:00:00 2001 From: Danny Rawlins Date: Wed, 16 May 2007 17:18:37 +1000 Subject: [PATCH] gcc34: change from prt-get to pkginfo to check for installed packages --- gcc34/Pkgfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc34/Pkgfile b/gcc34/Pkgfile index 188fc1507..fe6f20be3 100644 --- a/gcc34/Pkgfile +++ b/gcc34/Pkgfile @@ -55,7 +55,7 @@ build() { $PKG/usr/lib/gcc/*/$version/include/README # 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 cc${SUFFIX} c++${SUFFIX} gcc${SUFFIX} g++${SUFFIX}; do cd $PKG/usr/lib/distcc && ln -s ../../bin/distcc $c @@ -63,7 +63,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 cc${SUFFIX} c++${SUFFIX} gcc${SUFFIX} g++${SUFFIX}; do cd $PKG/usr/lib/ccache && ln -s ../../bin/ccache $c