Subject: [alpine-devel] added m4 as dep in flex

From: "Carlo Landmeter" <[email-masked]>
Date: Sat, 24 Jan 2009 12:11:00 +0000

Flex did not work for me and trew me this error: flex: fatal internal error, exec failed
I installed m4 and flex was working correctly.

See attached git patch.

Carlo

From d12c3ce7256da63c26ef3a98da2489f44bf9d4cc Mon Sep 17 00:00:00 2001
From: Carlo Landmeter <[email-masked]>
Date: Sat, 24 Jan 2009 12:01:53 +0000
Subject: [PATCH] core/flex: added m4 as dependency.

---
 core/flex/APKBUILD |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/core/flex/APKBUILD b/core/flex/APKBUILD
index 149dded..6a1cb3d 100644
--- a/core/flex/APKBUILD
+++ b/core/flex/APKBUILD
@@ -4,7 +4,7 @@ pkgrel=1
 pkgdesc="A tool for generating text-scanning programs"
 url="http://flex.sourceforge.net"
 license=custom
-depends='uclibc'
+depends='uclibc m4'
 makedepends=m4
 source="http://downloads.sourceforge.net/sourceforge/flex/flex-$pkgver.tar.bz2"
 subpackages="$pkgname-doc"
-- 
1.6.1

---

From: Natanael Copa <[email-masked]>
Date: Mon, 26 Jan 2009 11:20:48 +0100

> I installed m4 and flex was working correctly.

Yes looks correct. Thanks!

btw. since the resulting binary change (new dependency) we should
increase the pkgrel. If a user forexample got hit by this "bug", and we
fix it, then he will not get the fix via 'apk add -u' til we have
changend the pkgrel.

So ingeneral, if the binary package change in any way (new configure
options, dependencies etc) then we should increase the pkgrel. If the
change only affects the buildtime (e.g adding a missing makedepends)
then we dont need to change it.

Thanks!

-nc

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---