libnewt: allow optionally building against tcl - sync with compat-32 port
This commit is contained in:
parent
7ed250a38d
commit
211ba2b53a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue