Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: haikuports/haikuports
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 35e9efb5099e
Choose a base ref
...
head repository: haikuports/haikuports
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 69b82eefe8a9
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 17, 2021

  1. bison: bump (#6291)

    extrowerk authored Oct 17, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    69b82ee View commit details
Showing with 78 additions and 0 deletions.
  1. +78 −0 sys-devel/bison/bison-3.8.2.recipe
78 changes: 78 additions & 0 deletions sys-devel/bison/bison-3.8.2.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
SUMMARY="A yacc-compatible parser generator"
DESCRIPTION="Bison is a general-purpose parser generator that converts an \
annotated context-free grammar into an LALR(1) or GLR parser for that \
grammar. Once you are proficient with Bison, you can use it to develop a wide \
range of language parsers, from those used in simple desk calculators to \
complex programming languages.
Bison is upward compatible with Yacc: all properly-written Yacc grammars ought \
to work with Bison with no change. Anyone familiar with Yacc should be able to \
use Bison with little trouble. You need to be fluent in C or C++ programming \
in order to use Bison."
HOMEPAGE="http://www.gnu.org/software/bison/bison.html"
COPYRIGHT="1992-2021 Free Software Foundation, Inc."
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="https://ftpmirror.gnu.org/bison/bison-$portVersion.tar.xz
https://ftp.gnu.org/gnu/bison/bison-$portVersion.tar.xz"
CHECKSUM_SHA256="9bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2"

ARCHITECTURES="all ?x86_gcc2 ?ppc ?sparc ?m68k"
SECONDARY_ARCHITECTURES="x86 ?x86_gcc2"

PROVIDES="
bison$secondaryArchSuffix = $portVersion compat >= 2
cmd:bison$secondaryArchSuffix = $portVersion compat >= 2
cmd:yacc$secondaryArchSuffix
devel:liby$secondaryArchSuffix = $portVersion compat >= 2
"
REQUIRES="
haiku$secondaryArchSuffix
cmd:m4
"

BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:awk
cmd:diff
cmd:flex
cmd:gcc$secondaryArchSuffix
cmd:help2man
cmd:ld$secondaryArchSuffix
cmd:m4
cmd:make
cmd:perl
cmd:sed
"

TEST_REQUIRES="
cmd:doxygen
cmd:find
cmd:g++$secondaryArchSuffix
"

defineDebugInfoPackage bison$secondaryArchSuffix \
$binDir/bison

BUILD()
{
MAKEINFO=true \
runConfigure ./configure
make $jobArgs
}

INSTALL()
{
make install

prepareInstalledDevelLibs liby

rmdir $libDir
}

TEST()
{
make check
}