Revert "flex: update to 2.6.2."
This reverts commit 68c07b6e88
.
See https://github.com/westes/flex/issues/113.
This commit is contained in:
parent
1d5b4e2b1f
commit
49cbfbbd5a
1 changed files with 5 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'flex'
|
# Template file for 'flex'
|
||||||
pkgname=flex
|
pkgname=flex
|
||||||
version=2.6.2
|
version=2.6.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
# YES REALLY! WE DONT WANT BINS LINKED TO LIBFL!
|
# YES REALLY! WE DONT WANT BINS LINKED TO LIBFL!
|
||||||
|
@ -12,16 +12,15 @@ 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.gz"
|
distfiles="https://github.com/westes/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=9a01437a1155c799b7dc2508620564ef806ba66250c36bf5f9034b1c207cb2c9
|
checksum=2c7a412c1640e094cb058d9b2fe39d450186e09574bebb7aa28f783e3799103f
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" flex"
|
hostmakedepends+=" flex"
|
||||||
post_configure() {
|
post_configure() {
|
||||||
# Use host flex
|
# Use host flex
|
||||||
sed -i 's,./stage1flex$(EXEEXT),flex,' src/Makefile
|
sed -i 's,$(top_builddir)/src/stage1flex$(EXEEXT),flex,' \
|
||||||
sed -i '/^flex.1/s,../src/flex$(EXEEXT),/usr/bin/flex,' \
|
src/Makefile
|
||||||
doc/Makefile
|
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue