pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
cligen: use same check for bison as clixon.
Module Name: pkgsrc-wip
Committed By: Havard Eidnes <he%NetBSD.org@localhost>
Pushed By: he
Date: Tue Sep 17 17:06:58 2024 +0000
Changeset: cb30a7df065392862eb0a503134a384704097885
Modified Files:
cligen/distinfo
cligen/patches/patch-configure.ac
Log Message:
cligen: use same check for bison as clixon.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=cb30a7df065392862eb0a503134a384704097885
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
cligen/distinfo | 2 +-
cligen/patches/patch-configure.ac | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs:
diff --git a/cligen/distinfo b/cligen/distinfo
index fd6c829b8e..101815d51b 100644
--- a/cligen/distinfo
+++ b/cligen/distinfo
@@ -3,4 +3,4 @@ $NetBSD$
BLAKE2s (cligen-7.1.0.tar.gz) = 8e5223c8fb4434efc3406d3ba36667bc5ea33bf918dda085ddba870fec120dad
SHA512 (cligen-7.1.0.tar.gz) = fe91a57fd3de96fca49f54c2e887b1395cc6712517814ace265a57df397e4354d91f47abb97ee8c66802f35fde4e83d74f85738868fb2f3417f5efef7c92551c
Size (cligen-7.1.0.tar.gz) = 817152 bytes
-SHA1 (patch-configure.ac) = 0b4333fd0383b55d0b0aca55ab120aaae3054fc2
+SHA1 (patch-configure.ac) = 084e2b9e8aff662bc5ec09424a8de0284b42ba30
diff --git a/cligen/patches/patch-configure.ac b/cligen/patches/patch-configure.ac
index a42b737b7b..05f0a02181 100644
--- a/cligen/patches/patch-configure.ac
+++ b/cligen/patches/patch-configure.ac
@@ -10,7 +10,7 @@ Also properly handle --with-libxml2=...
AC_MSG_ERROR(CLIGEN does not find lex or flex.)
fi
-if test "$YACC" != "bison -y"; then
-+if test `expr "$YACC" : ".*bison -y"` -eq 0; then
++if test "$YACC" = ${YACC##*bison}; then
AC_MSG_ERROR(CLIGEN does not find bison. There are several problems with yacc and byacc. Please install bison.)
# byacc leaks, may need byacc -P?
fi
Home |
Main Index |
Thread Index |
Old Index