~alpine/aports

main/flex: create compatibility symlink (/usr/bin/lex) v1 PROPOSED

Sören Tempel: 1
 main/flex: create compatibility symlink (/usr/bin/lex)

 1 files changed, 2 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/1703/mbox | git am -3
Learn more about email & git

[alpine-aports] [PATCH] main/flex: create compatibility symlink (/usr/bin/lex) Export this patch

This symlink is for instance used by the default GNU Make rule for *.l
files. Other distributions like arch linux also create this symlink.
---
 main/flex/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/main/flex/APKBUILD b/main/flex/APKBUILD
index 88b4d01..d379377 100644
--- a/main/flex/APKBUILD
+++ b/main/flex/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncop@alpinelinux.org>
pkgname=flex
pkgver=2.5.39
pkgrel=1
pkgrel=2
pkgdesc="A tool for generating text-scanning programs"
url="http://flex.sourceforge.net"
arch="all"
@@ -35,6 +35,7 @@ build() {
package() {
	cd "$srcdir/$pkgname-$pkgver"
	make install DESTDIR="$pkgdir" || return 1
	ln -s flex "$pkgdir"/usr/bin/lex || return 1
}

md5sums="77d44c6bb8c0705e0017ab9a84a1502b  flex-2.5.39.tar.bz2"
-- 
2.6.3



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---