Commits

Uelsk8s committed 5c0ce30

fix manpages gcc

Comments (0)

Files changed (1)

var/vabs/gcc/src/gcc.SlackBuild

     ln -sf gfortran g77
     ln -sf gfortran f77
   )
+  ( cd $PKG1/usr/;mv share/man/ . )
   ( cd $PKG1/usr/man
     gzip -9 */*
     cd man1
 
 # gcc-java:
 ( cd $PKG5
-  mkdir -p usr/share/java/
+  mkdir -p usr/share
+  mv $PKG1/usr/share/java usr/share
   cp -v $CWD/ecj-4.5.jar usr/share/java/eclipse-ecj.jar
   mkdir -p usr/bin
   mv $PKG1/usr/bin/addr2name.awk usr/bin
   mv $PKG1/usr/man/man1/jcf-dump.1.gz usr/man/man1
   mv $PKG1/usr/man/man1/jv-convert.1.gz usr/man/man1
   mv $PKG1/usr/man/man1/jv-scan.1.gz usr/man/man1
-  mkdir -p usr/share
-  mv $PKG1/usr/share/java usr/share
   # The ecj wrapper script:
   cat $CWD/ecj.sh | sed -e "s,@JAVADIR@,/usr/share/java," > usr/bin/ecj
   cat $CWD/ecj1 | sed -e "s,@JAVADIR@,/usr/share/java," > usr/bin/ecj1