summaryrefslogtreecommitdiff
path: root/graphics/graphviz/graphviz.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-06 10:40:35 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-07 11:28:16 -0600
commit343fd1b63101b986f557bd4e014d93afb1290913 (patch)
tree1099e6136bed8902ea403bbc87ab181d97d29a80 /graphics/graphviz/graphviz.SlackBuild
parent0258b6bf96505218ff029ee276e0a889d2d4dc7b (diff)
downloadslackbuilds-343fd1b63101b986f557bd4e014d93afb1290913.tar.gz
graphics/graphviz: Fixed handling of LIBDIRSUFFIX in graphviz.ini.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics/graphviz/graphviz.SlackBuild')
-rw-r--r--graphics/graphviz/graphviz.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/graphviz/graphviz.SlackBuild b/graphics/graphviz/graphviz.SlackBuild
index fe5df4add4..d9667330c5 100644
--- a/graphics/graphviz/graphviz.SlackBuild
+++ b/graphics/graphviz/graphviz.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=graphviz
VERSION=${VERSION:-2.34.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -91,7 +91,8 @@ make
make install-strip DESTDIR=$PKG
# Install config file for PHP.
-install -D -m 0644 $CWD/graphviz.ini $PKG/etc/php/graphviz.ini.new
+mkdir -p $PKG/etc/php
+sed "s|@LIBDIRSUFFIX@|$LIBDIRSUFFIX|" $CWD/graphviz.ini > $PKG/etc/php/graphviz.ini.new
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done