graphics/graphviz: Fixed handling of LIBDIRSUFFIX in graphviz.ini.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
0258b6bf96
commit
343fd1b631
|
@ -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
|
||||
|
|
|
@ -8,5 +8,5 @@
|
|||
; In case you still prefer to use the wrapper class you have to
|
||||
; include it using its absolute path:
|
||||
; <?php
|
||||
; include ('/usr/lib/graphviz/php/gv.php');
|
||||
; include ('/usr/lib@LIBDIRSUFFIX@/graphviz/php/gv.php');
|
||||
; ?>
|
||||
|
|
Loading…
Reference in New Issue