diff options
Diffstat (limited to '')
-rwxr-xr-x | source/l/libieee1284/libieee1284.SlackBuild | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/source/l/libieee1284/libieee1284.SlackBuild b/source/l/libieee1284/libieee1284.SlackBuild index 1827ffda3..65397a04b 100755 --- a/source/l/libieee1284/libieee1284.SlackBuild +++ b/source/l/libieee1284/libieee1284.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2006, 2007, 2008, 2009, 2010, 2018, 2023 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2006, 2007, 2008, 2009, 2010, 2018, 2023, 2024 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -78,20 +78,8 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ -# Upstream commits around better python bindings support -zcat $CWD/libieee1284-fix-warnings.patch.gz | patch -p1 --verbose || exit 1 -zcat $CWD/libieee1284-add-more-python-bindings.patch.gz | patch -p1 --verbose || exit 1 - -# Arch patch to update python bindings to python3 -zcat $CWD/libieee1284-python3.patch.gz | patch -p1 --verbose || exit 1 - -sed -i "s|print sys.version\[:3\]|print(sys.version\[:3\])|" ./configure -sed -i "s|print sys.platform|print(sys.platform)|" ./configure -sed -i "s|lib/python|lib$LIBDIRSUFFIX/python|" ./configure - # Configure: CFLAGS="$SLKCFLAGS" \ -PYTHON="/usr/bin/python3" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -99,6 +87,7 @@ PYTHON="/usr/bin/python3" \ --mandir=/usr/man \ --program-prefix= \ --program-suffix= \ + --without-python \ --build=$ARCH-slackware-linux || exit 1 # Build and install: |