pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
libpll: USE_TOOLS bison and flex
Module Name: pkgsrc-wip
Committed By: Dr. Thomas Orgis <thomas.orgis%uni-hamburg.de@localhost>
Pushed By: thor
Date: Mon Feb 13 22:34:30 2023 +0100
Changeset: 4a536de81bd1a1514baca3c88387cab2546c15dd
Modified Files:
libpll/Makefile
libpll/distinfo
Added Files:
libpll/patches/patch-configure
libpll/patches/patch-configure.ac
Log Message:
libpll: USE_TOOLS bison and flex
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4a536de81bd1a1514baca3c88387cab2546c15dd
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
libpll/Makefile | 2 ++
libpll/distinfo | 2 ++
libpll/patches/patch-configure | 20 ++++++++++++++++++++
libpll/patches/patch-configure.ac | 20 ++++++++++++++++++++
4 files changed, 44 insertions(+)
diffs:
diff --git a/libpll/Makefile b/libpll/Makefile
index 02fef5109c..0e80e90fad 100644
--- a/libpll/Makefile
+++ b/libpll/Makefile
@@ -15,4 +15,6 @@ LICENSE= gnu-agpl-v3
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
+USE_TOOLS+= bison flex
+
.include "../../mk/bsd.pkg.mk"
diff --git a/libpll/distinfo b/libpll/distinfo
index 3ff7aa9926..b9901893a5 100644
--- a/libpll/distinfo
+++ b/libpll/distinfo
@@ -3,3 +3,5 @@ $NetBSD$
BLAKE2s (libpll-src-0.3.2.tar.gz) = 9236f9f3f9d498c205747d4397b0cbd0cc5837e496d2c76a4a6fa78c14d9d90c
SHA512 (libpll-src-0.3.2.tar.gz) = b264dee8b7796e071b529b6be981ca1cd9b2074fd6af2ecbe79371b5a9187a44dca3b7555502f00ffa135d9d48a236f63180f25d707d8c9d59b27cff40dd86aa
Size (libpll-src-0.3.2.tar.gz) = 599948 bytes
+SHA1 (patch-configure) = 2238f05ee5d38c4bd2ea4e516cbf9458eb6487bd
+SHA1 (patch-configure.ac) = c14be9e70f5b8db487d22718582a94caa241e48e
diff --git a/libpll/patches/patch-configure b/libpll/patches/patch-configure
new file mode 100644
index 0000000000..4c9dfec7a4
--- /dev/null
+++ b/libpll/patches/patch-configure
@@ -0,0 +1,20 @@
+$NetBSD$
+
+Make stupid check for bison and flex a bit less stupid.
+
+--- configure.orig 2023-02-13 21:30:40.779472369 +0000
++++ configure
+@@ -11880,11 +11880,11 @@ test -n "$YACC" || YACC="yacc"
+
+
+
+-if test "x$LEX" != xflex; then
++if test "x$(basename "$LEX")" != xflex; then
+ as_fn_error $? "could not find required installation of FLEX" "$LINENO" 5
+ fi
+
+-if test "x$YACC" != x"bison -y"; then
++if test "x$(basename "$YACC")" != x"bison -y"; then
+ as_fn_error $? "could not find required installation of BISON" "$LINENO" 5
+ fi
+
diff --git a/libpll/patches/patch-configure.ac b/libpll/patches/patch-configure.ac
new file mode 100644
index 0000000000..9f7bc04a04
--- /dev/null
+++ b/libpll/patches/patch-configure.ac
@@ -0,0 +1,20 @@
+$NetBSD$
+
+Make stupid checks for bison and flex a bit less stupid.
+
+--- configure.ac.orig 2023-02-13 21:28:47.785056736 +0000
++++ configure.ac
+@@ -20,11 +20,11 @@ AC_PROG_LEX
+ AC_PROG_YACC
+ AC_PROG_INSTALL
+
+-if test "x$LEX" != xflex; then
++if test "x$(basename "$LEX")" != xflex; then
+ AC_MSG_ERROR(could not find required installation of FLEX)
+ fi
+
+-if test "x$YACC" != x"bison -y"; then
++if test "x$(basename "$YACC")" != x"bison -y"; then
+ AC_MSG_ERROR(could not find required installation of BISON)
+ fi
+
Home |
Main Index |
Thread Index |
Old Index