summaryrefslogtreecommitdiff
path: root/source/d/cmake/cmake.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/cmake/cmake.SlackBuild')
-rwxr-xr-xsource/d/cmake/cmake.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/source/d/cmake/cmake.SlackBuild b/source/d/cmake/cmake.SlackBuild
index 25fd3b4f..e3e1504e 100755
--- a/source/d/cmake/cmake.SlackBuild
+++ b/source/d/cmake/cmake.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2008, 2009, 2010, 2011 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -75,7 +75,8 @@ CXXFLAGS="$SLKCFLAGS" \
../configure \
--prefix=/usr \
--docdir=/doc/$PKGNAM-$VERSION \
- $SLKCONFIGFLAGS \
+ --qt-gui \
+ --system-libs \
--build=$ARCH-slackware-linux
make $NUMJOBS || make || exit 1
@@ -89,6 +90,10 @@ if [ -r ../ChangeLog.txt ]; then
touch -r ../ChangeLog.txt $DOCSDIR/ChangeLog.txt
fi
+# How many redundant docs do we need?
+# If you really require the docbook, it is in the source.
+rm -f $PKG/usr/doc/$PKGNAM-$VERSION/*.docbook
+
# Compress and link manpages, if any:
if [ -d $PKG/usr/man ]; then
( cd $PKG/usr/man