From d4c9dbf46329c4440bd942f7c1f7ca87036718c3 Mon Sep 17 00:00:00 2001 From: Danny Rawlins Date: Wed, 16 May 2007 17:18:19 +1000 Subject: [PATCH] gcc-fortran: change from prt-get to pkginfo to check for installed packages --- gcc-fortran/Pkgfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc-fortran/Pkgfile b/gcc-fortran/Pkgfile index 03bad2da5..1cc5bc9af 100644 --- a/gcc-fortran/Pkgfile +++ b/gcc-fortran/Pkgfile @@ -69,7 +69,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 f90 f95 gfortran; do cd $PKG/usr/lib/distcc && ln -s ../../bin/distcc $c @@ -77,7 +77,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 f90 f95 gfortran; do cd $PKG/usr/lib/ccache && ln -s ../../bin/ccache $c