[Slackbuilds-users] wxHexEditor, fpc, xalan

Fridrich von Stauffenberg cancellor2 at gmail.com
Mon Apr 16 12:15:26 UTC 2012


Hi, guys! I brought you some fixes (see the attachments).
Have a nice day.
-------------- next part --------------
--- fpc/fpc.SlackBuild.orig	2012-04-16 13:41:36.000000000 +0300
+++ fpc/fpc.SlackBuild	2012-04-16 14:38:58.000000000 +0300
@@ -94,13 +94,7 @@
 # copy docs
 mv $PKG/usr/share/doc $PKG/usr/doc
 rmdir $PKG/usr/share
-# No idea why, but the pdf docs are in different places depending on arch
-if [ "$ARCH" = "x86_64" ]; then
-  mv $TMP/$PRGNAM-$VERSION/docs/doc/*.pdf $PKG/usr/doc/$PRGNAM-$VERSION
-else
-  mv $TMP/$PRGNAM-$VERSION/docs/share/doc/fpdocs-$VERSION/*.pdf \
-     $PKG/usr/doc/$PRGNAM-$VERSION/
-fi
+mv $TMP/$PRGNAM-$VERSION/docs/doc/*.pdf $PKG/usr/doc/$PRGNAM-$VERSION
 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
 find $PKG/usr/doc -type d -name '.svn' | xargs rm -rf
 
-------------- next part --------------
--- wxHexEditor/wxHexEditor.SlackBuild.orig	2012-03-13 17:39:42.000000000 +0200
+++ wxHexEditor/wxHexEditor.SlackBuild	2012-04-16 14:40:49.000000000 +0300
@@ -53,6 +53,10 @@
  \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
  -exec chmod 644 {} \;
 
+sed -i '/^PREFIX/s/\/usr\/local/\/usr/' makefile
+sed -i '/install -D/s/\$(BINDIR)/\$(DESTDIR)\$(BINDIR)/' makefile
+sed -i '/install -D/s/\$(DATADIR)/\$(DESTDIR)\$(DATADIR)/' makefile
+
 # Forcing "-j1" as it fails with anything higher
 CFLAGS="$SLKCFLAGS" \
 CXXFLAGS="$SLKCFLAGS" \
-------------- next part --------------
--- xalan/xalan.SlackBuild.orig	2010-06-16 08:22:12.000000000 +0300
+++ xalan/xalan.SlackBuild	2012-04-16 14:41:09.000000000 +0300
@@ -41,7 +41,7 @@
 cd $PKG/usr/share/java
   ln -s ../../../$ANTHOME/lib/$PRGNAM.jar
   ln -s ../../../$ANTHOME/lib/serializer.jar
-  ln -s ../../../$ANTHOME/lib/xstlc.jar
+  ln -s ../../../$ANTHOME/lib/xsltc.jar
 cd -
 
 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION


More information about the SlackBuilds-users mailing list