Commits

Uelsk8s  committed b3f0fb1

add jre to gcc deps

  • Participants
  • Parent commits acd39a7

Comments (0)

Files changed (1)

File var/vabs/gcc/src/gcc.SlackBuild

 VL_VERSION=${VL_VERSION:-"$(ls /var/log/packages/|grep vlconfig2|cut -d "-" -f4|cut -c 2-5)"}
 BUILD=${BUILD:-"$BUILDNUM""$VL_VERSION"}
 LINK="http://ftp.gnu.org/gnu/$PKGNAM/$PKGNAM-$VERSION/$PKGNAM-$VERSION.tar.bz2 http://slackware.cs.utah.edu/pub/slackware/slackware-current/source/d/gcc/fastjar-0.97.tar.xz"
-MAKEDEPENDS=${MAKEDEPENDS:-"!kernel-headers kernel-headers glibc gcc gcc-g++ gcc-java jdk"} #Add deps needed TO BUILD this package here.
+MAKEDEPENDS=${MAKEDEPENDS:-"!kernel-headers kernel-headers glibc gcc gcc-g++ gcc-java jre jdk"} #Add deps needed TO BUILD this package here.
 
 # How many jobs to run in parallel:
 NUMJOBS=" -j 7 "
 cat $CWD/slack-desc.gcc-go > $PKG8/install/slack-desc
 
 cd $TMP
-tar xvf $CWD/gcc-$VERSION.tar.?z*
+tar xf $CWD/gcc-$VERSION.tar.?z*
 
 # Copy ecj.jar into the TLD of the source. Needed for java compiler.
 # This can be retrieved from ftp://sourceware.org/pub/java
-cp $CWD/ecj-4.5.jar gcc-$VERSION/ecj.jar
+cp -v $CWD/ecj-4.5.jar gcc-$VERSION/ecj.jar
 
 # Use an antlr runtime to compile javadoc.
 # The runtime can be obtained from: