python-32: libtirpc is in core so hard depend on libtirpc-32

This commit is contained in:
Danny Rawlins 2021-02-19 21:46:00 +11:00
parent 340e9023d2
commit 97d77fee05
2 changed files with 4 additions and 10 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/compat-32.pub
RWSwxGo/zH7eXdGxD+dB7+8ulkTcWqVdKlPjCappW921ImwuJKqacgH8tfL8hMphmR+DVsZ77bjGOLChGtCMAMW/PXaB1GMgnAI=
SHA256 (Pkgfile) = 0e2d1f5ec0fb96a7724893c05e24150a5c29c90db132a0ff5262c5c03cd16eea
RWSwxGo/zH7eXfyHjCNKtuloZrt0CigL4R5RUmeCfqqtVAtBgC5BBkJhRY7Llrbu6kiEgXmeA0AktPZeNYm7dZTFPL1ft4/fpAc=
SHA256 (Pkgfile) = a1d3950b9c731e4c706d52a6e6b69d1f70702ca6980a98b98d00bc0c4e8c066c
SHA256 (.footprint) = c4b46fe46e335901d406088ef2529fbc4b11fda5a49d20e39470c231f6f3250f
SHA256 (Python-2.7.18.tar.xz) = b62c0e7937551d0cc02b8fd5cb0f544f9405bafc9a54d3808ed4594812edef43

View File

@ -1,22 +1,16 @@
# Description: Python interpreter, version 2.7
# URL: https://www.python.org/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: bzip2-32 db-32 gdbm-32 openssl-32 python sqlite3-32 zlib-32
# Optional: libtirpc-32
# Depends on: bzip2-32 db-32 gdbm-32 libtirpc-32 openssl-32 python sqlite3-32 zlib-32
name=python-32
version=2.7.18
release=1
release=2
source=(https://www.python.org/ftp/python/$version/Python-$version.tar.xz)
build() {
cd Python-$version
[ -e '/usr/lib/pkgconfig/libtirpc.pc' ] && [ ! -e '/usr/lib32/pkgconfig/libtirpc.pc' ] && printf "\e[031mlibtirpc is detected on your system, please run:
prt-get depinst libtirpc-32
before continuing with python-32.\033[0m\n" &&
exit 1
# set OPT to the python default without -O3
# our CFLAGS are used as well
OPT="-Wall -Wstrict-prototypes -fwrapv" \