diff options
author | Juergen Daubert <jue@jue.li> | 2021-02-17 14:12:32 +0100 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2021-02-17 14:12:32 +0100 |
commit | 342e893cc193400b660237535d65c31760d838e0 (patch) | |
tree | 6581d4e4f81390d938cbe505e73ca95f97792651 /graphviz | |
parent | 200e9b14ed984d6db146933a8e035e6f45a689f3 (diff) | |
download | opt-342e893cc193400b660237535d65c31760d838e0.tar.gz opt-342e893cc193400b660237535d65c31760d838e0.tar.xz |
graphviz: fix build if swig is installed but tcl is not
Diffstat (limited to 'graphviz')
-rw-r--r-- | graphviz/.signature | 4 | ||||
-rw-r--r-- | graphviz/Pkgfile | 14 |
2 files changed, 13 insertions, 5 deletions
diff --git a/graphviz/.signature b/graphviz/.signature index 77d77380c..175c01790 100644 --- a/graphviz/.signature +++ b/graphviz/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/XlLkQPamiGOHEwpS95KngfPeiNRjhFVQ3cGryNkcaRUkA4gP51+cQ2fTRA1dThpIiRHmNkW5/v5Mo/lhxv4OgM= -SHA256 (Pkgfile) = 96c470569e59ad8f33535d2d33ecef68750587d089e05c76c2068bc022c414f6 +RWSE3ohX2g5d/fLAZuzqpUU4coupnDRSgr8AXyXUlOmBMflg4OhTm6o5YIfdpoR0U+0rivOkXcedTu5Wddb23TAoM9mv4r0a2Qs= +SHA256 (Pkgfile) = 0c65d20c571ce915573a1505af972eb900b7776371e354bea1ad3b2d6e8ff1f7 SHA256 (.footprint) = dd5dc11353c9f8957d6ffee42fb55bfde198411678314a2c6fdf1855f83ea8b8 SHA256 (graphviz-2.46.1.tar.bz2) = e5d7580b3dfcbeb0b86f28dd3c2df76f32086bb428f67c8ae8512e5fd969324d diff --git a/graphviz/Pkgfile b/graphviz/Pkgfile index c91794c6e..c27739054 100644 --- a/graphviz/Pkgfile +++ b/graphviz/Pkgfile @@ -5,14 +5,22 @@ name=graphviz version=2.46.1 -release=1 +release=2 source=(https://gitlab.com/graphviz/graphviz/-/archive/$version/$name-$version.tar.bz2) build() { cd $name-$version + + # build fails if swig is installed but tcl is not + prt-get isinst swig && ! prt-get isinst tcl && PKGMK_GRAPHVIZ='--disable-swig' + + # don't install into /usr/lib64 + sed 's/LIBPOSTFIX="64"/LIBPOSTFIX=""/' -i configure.ac + ./autogen.sh - ./configure --prefix=/usr - make + ./configure --prefix=/usr $PKGMK_GRAPHVIZ + make -j1 make DESTDIR=$PKG install + rm -r $PKG/usr/share/graphviz/doc } |