ports/compat-32 (3.7): libnewt-32: tcl-32 is not a hard dependency, make it optional
commit ed70de06ce4ba8ffa105ee3b0d74eb5a513f5137 Author: Tim Biermann <tbier@posteo.de> Date: Sun Aug 6 20:54:22 2023 +0200 libnewt-32: tcl-32 is not a hard dependency, make it optional diff --git a/libnewt-32/.footprint b/libnewt-32/.footprint index 06e682c..d804747 100644 --- a/libnewt-32/.footprint +++ b/libnewt-32/.footprint @@ -6,4 +6,3 @@ lrwxrwxrwx root/root usr/lib32/libnewt.so.0.52 -> libnewt.so.0.52.23 -rwxr-xr-x root/root usr/lib32/libnewt.so.0.52.23 drwxr-xr-x root/root usr/lib32/pkgconfig/ -rw-r--r-- root/root usr/lib32/pkgconfig/libnewt.pc --rwxr-xr-x root/root usr/lib32/whiptcl.so diff --git a/libnewt-32/.signature b/libnewt-32/.signature index a2b8512..ba39985 100644 --- a/libnewt-32/.signature +++ b/libnewt-32/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/compat-32.pub -RWSwxGo/zH7eXbm+ZZBqYwbpx3gH0vmQhvEF2Pt2jj3GuyAhNmb/R+0XqotF0yx9c2XyebUyJCGX2a9jZRHOj8DIEvr3y2pZMwI= -SHA256 (Pkgfile) = f4016e1726aa2eee2de540fa2fa0c07de15530ef7cffefe9871e0b58237123c4 -SHA256 (.footprint) = 41190a5b50fd3d1cee78da16df7038f17cf4cc72a60c29ca15ade17602b2bad8 +RWSwxGo/zH7eXZfEyKJn5DVFKCO/ufWRyplrBjwYQo6292VSgSSbdeqcZc4MDdzi9LvFPpDJRnT8+QgcyFGTZ625bXMdNaRVKgU= +SHA256 (Pkgfile) = 0719072569e79ce82926b8e2006bba843864aa0e9ccc405304c4e984c4904b35 +SHA256 (.footprint) = 7b057330f374b53c9d2c7fca94bf8e113bfc52abdda583fb98b95d636fff33b8 SHA256 (newt-0.52.23.tar.gz) = caa372907b14ececfe298f0d512a62f41d33b290610244a58aed07bbc5ada12a diff --git a/libnewt-32/Pkgfile b/libnewt-32/Pkgfile index 55e5eaa..1d9949c 100644 --- a/libnewt-32/Pkgfile +++ b/libnewt-32/Pkgfile @@ -1,18 +1,21 @@ # Description: a programming library for color text mode # URL: https://pagure.io/newt # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu -# Depends on: libnewt popt-32 slang-32 tcl-32 +# Depends on: libnewt popt-32 slang-32 +# Optional: tcl-32 name=libnewt-32 version=0.52.23 -release=1 +release=2 source=(https://releases.pagure.org/newt/newt-$version.tar.gz) build() { cd newt-$version - sed -i "s:tcl8.4:tcl8.6:" Makefile.in - echo '#define USE_INTERP_RESULT 1' >> config.h + if prt-get isinst tcl-32; then + sed -i "s:tcl8.4:tcl8.6:" Makefile.in + echo '#define USE_INTERP_RESULT 1' >> config.h + fi ./autogen.sh ./configure \
participants (1)
-
crux@crux.nu