summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2011-06-28 09:35:32 +0000
committer Eric Hameleers <alien@slackware.com>2011-06-28 09:35:32 +0000
commit48a40b94024a8711776fc56f29510ddf43744001 (patch)
tree7ec80a461ceab42800bce13495ef0db8ce819c51
parentd99c380fa9bec8ff052580fd04331e5631b1b91d (diff)
downloadasb-48a40b94024a8711776fc56f29510ddf43744001.tar.gz
asb-48a40b94024a8711776fc56f29510ddf43744001.tar.xz
Wtf does an empty lib64 do there?
-rwxr-xr-xpotrace/build/potrace.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/potrace/build/potrace.SlackBuild b/potrace/build/potrace.SlackBuild
index c481ae15..3c1e532d 100755
--- a/potrace/build/potrace.SlackBuild
+++ b/potrace/build/potrace.SlackBuild
@@ -167,6 +167,9 @@ CFLAGS="$SLKCFLAGS" \
make 2>&1 | tee $OUTPUT/make-${PRGNAM}.log
make DESTDIR=$PKG install 2>&1 |tee $OUTPUT/install-${PRGNAM}.log
+# Remove a useless directory from the package:
+rmdir $PKG/usr/lib${LIBDIRSUFFIX} 2>/dev/null || true
+
# Add documentation:
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION || true