From 211ba2b53a13e0f4aaf8ff36613b24673c67e340 Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Sun, 6 Aug 2023 20:51:28 +0200 Subject: [PATCH] libnewt: allow optionally building against tcl - sync with compat-32 port --- libnewt/.signature | 4 ++-- libnewt/Pkgfile | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/libnewt/.signature b/libnewt/.signature index c6f6a3e4d..682fa45c6 100644 --- a/libnewt/.signature +++ b/libnewt/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF35D/4eGchkrDzhKAvell0UDH/m00ZlI3vYMYp8wXvxG0nn1+TCJaSS2C0TeGr0ZmkScxMpnBTm6rM1Httdo8QQM= -SHA256 (Pkgfile) = 45c5a70e095280681202acaeec43447995a92713b655eb3646a009f83d79108e +RWSagIOpLGJF35BG3YOJzRPxJbD+wqpcTNpj6LYDdNdH9/ejAeNocX6JKvTbMrHMNcd28XuDpH0E+1UhEydEigmBJtXUosDfOQA= +SHA256 (Pkgfile) = 794f7d24243f845aee0e1ab6567f56ac44aadf6688e180cd5db905dea1fe0f09 SHA256 (.footprint) = 5224c84ee33c48ff8eebd50a59b0b5a137b143bb5d4cafaf561f4e6e8c88131c SHA256 (newt-0.52.23.tar.gz) = caa372907b14ececfe298f0d512a62f41d33b290610244a58aed07bbc5ada12a diff --git a/libnewt/Pkgfile b/libnewt/Pkgfile index e13c298dd..1419e8800 100644 --- a/libnewt/Pkgfile +++ b/libnewt/Pkgfile @@ -2,16 +2,21 @@ # URL: https://pagure.io/newt # Maintainer: Tim Biermann, tbier at posteo dot de # Depends on: slang popt python3 +# Optional: tcl name=libnewt version=0.52.23 -release=1 +release=2 source=(https://releases.pagure.org/newt/newt-$version.tar.gz) -git=(https://pagure.io/newt.git) build() { cd newt-$version + if prt-get isinst tcl; then + sed -i "s:tcl8.4:tcl8.6:" Makefile.in + echo '#define USE_INTERP_RESULT 1' >> config.h + fi + ./autogen.sh ./configure --prefix=/usr --disable-nls