diff options
author | Danny Rawlins <romster@shortcircuit.net.au> | 2007-05-16 17:18:19 +1000 |
---|---|---|
committer | Danny Rawlins <romster@shortcircuit.net.au> | 2007-05-16 17:18:19 +1000 |
commit | d4c9dbf46329c4440bd942f7c1f7ca87036718c3 (patch) | |
tree | b6c644c138666e3ce912687dc7f7263194984bfe /gcc-fortran | |
parent | fbf8920f52f5f047aab0aca7268053b4eec20490 (diff) | |
download | contrib-d4c9dbf46329c4440bd942f7c1f7ca87036718c3.tar.gz contrib-d4c9dbf46329c4440bd942f7c1f7ca87036718c3.tar.xz |
gcc-fortran: change from prt-get to pkginfo to check for installed packages
Diffstat (limited to 'gcc-fortran')
-rw-r--r-- | gcc-fortran/Pkgfile | 4 |
1 files 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 |