summaryrefslogtreecommitdiff
path: root/debian/control
diff options
context:
space:
mode:
authorManoj Srivastava <srivasta@debian.org>2016-02-08 09:17:48 -0800
committerManoj Srivastava <srivasta@debian.org>2016-02-08 09:17:48 -0800
commit3b2bb4a894d80d03e1541179d8efeca8fd5ae22c (patch)
tree263abd43f108f6fe603830b1486a278619d8d03e /debian/control
parentcc74879ac07fe94c779c4752992d067eb0e0a8c6 (diff)
Potential fix for the multi-arch issuedebian/2.6.0-5
Flex no longer automatically pulls in libfl-dev, so at the very least packages using C++ lexers will need to pull in libfl-dev in build depends. libfl-dev is now demoted to a suggestion. This will impact compilation where there was an implicit dependency on the C++ header files provided by libfl-dev; please install libfl-dev explicitly if that is the case. Signed-off-by: Manoj Srivastava <srivasta@debian.org>
Diffstat (limited to 'debian/control')
-rw-r--r--debian/control11
1 files changed, 7 insertions, 4 deletions
diff --git a/debian/control b/debian/control
index ccc5fea..0970d68 100644
--- a/debian/control
+++ b/debian/control
@@ -12,11 +12,11 @@ Standards-Version: 3.9.6
Package: flex
Architecture: any
+Multi-Arch: foreign
Pre-Depends: debconf | debconf-2.0
-Depends: ${shlibs:Depends}, m4, libfl-dev (= ${binary:Version}),
- dpkg (>= 1.15.4) | install-info, ${misc:Depends}
+Depends: ${shlibs:Depends}, m4, dpkg (>= 1.15.4) | install-info, ${misc:Depends}
Recommends: gcc | c-compiler
-Suggests: bison, build-essential
+Suggests: bison, build-essential, libfl-dev
Description: fast lexical analyzer generator
Flex is a tool for generating scanners: programs which recognized lexical
patterns in text. It reads the given input files for a description of a
@@ -47,6 +47,8 @@ Package: libfl-dev
Section: libdevel
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
+Multi-Arch: same
+Recommends: flex (= ${binary:Version})
Replaces: flex (<< 2.5.39), flex-old (<= 2.5.4a-10)
Breaks: flex (<< 2.5.39), flex-old (<= 2.5.4a-10)
Description: static library for flex (a fast lexical analyzer generator)
@@ -59,4 +61,5 @@ Description: static library for flex (a fast lexical analyzer generator)
executable is run, it analyzes its input for occurrences of the regular
expressions. Whenever it finds one, it executes the corresponding C code.
.
- This package contains the static library for flex.
+ This package contains the static library for flex, and the header files
+ for C++ lexers.