mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
flex: update to 2.6.3.
Tested that nftables builds, this should fix the regressions in 2.6.2 then.
This commit is contained in:
parent
d106e11493
commit
aff8468e26
1 changed files with 7 additions and 17 deletions
|
@ -1,29 +1,19 @@
|
||||||
# Template file for 'flex'
|
# Template file for 'flex'
|
||||||
pkgname=flex
|
pkgname=flex
|
||||||
reverts="2.6.2_1"
|
version=2.6.3
|
||||||
version=2.6.1
|
revision=1
|
||||||
revision=2
|
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
# YES REALLY! WE DONT WANT BINS LINKED TO LIBFL!
|
configure_args="--disable-bootstrap --disable-shared"
|
||||||
configure_args="--disable-shared"
|
hostmakedepends="bison"
|
||||||
hostmakedepends="help2man bison"
|
|
||||||
makedepends="bison"
|
makedepends="bison"
|
||||||
depends="bison libfl-devel-${version}_${revision}"
|
depends="bison libfl-devel-${version}_${revision} m4"
|
||||||
short_desc="The Fast Lexical Analyzer"
|
short_desc="The Fast Lexical Analyzer"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://flex.sourceforge.net"
|
homepage="http://flex.sourceforge.net"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
distfiles="https://github.com/westes/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.xz"
|
distfiles="https://github.com/westes/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=2c7a412c1640e094cb058d9b2fe39d450186e09574bebb7aa28f783e3799103f
|
checksum=68b2742233e747c462f781462a2a1e299dc6207401dac8f0bbb316f48565c2aa
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
hostmakedepends+=" flex"
|
|
||||||
post_configure() {
|
|
||||||
# Use host flex
|
|
||||||
sed -i 's,$(top_builddir)/src/stage1flex$(EXEEXT),flex,' \
|
|
||||||
src/Makefile
|
|
||||||
}
|
|
||||||
fi
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue