summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-07-04 12:15:24 +0000
committerIgor Pashev <pashev.igor@gmail.com>2012-07-04 12:15:24 +0000
commitc9bed2d9088dba62ce18c8d6068d40dbb500d087 (patch)
tree01bf507ec5bd056fc8d217b1adc0de2a8dceab4d
parent56d747f4d225aa99cf9211f6dd04d38cbcf41a1d (diff)
downloaddh-illumos-c9bed2d9088dba62ce18c8d6068d40dbb500d087.tar.gz
lex is flex -l
-rwxr-xr-xdh_illumos_gate3
1 files changed, 3 insertions, 0 deletions
diff --git a/dh_illumos_gate b/dh_illumos_gate
index 4ded919..2d68d74 100755
--- a/dh_illumos_gate
+++ b/dh_illumos_gate
@@ -144,6 +144,8 @@ Set library directories to be F</usr/lib/<multi-arch>>,
instead of F</usr/lib> (for 32-bit) and F</usr/lib/amd64>
(for 64-bit). C<dpkg-architecture -qDEB_HOST_MULTIARCH> is involved here.
+Define C<LEX> to be C</usr/bin/flex -l>.
+
=cut
@@ -180,6 +182,7 @@ if (open (ENV, '>', $env)) {
print ENV "export ROOTFS_LIBDIR64=\"\$ROOT/lib/$multiarch64\"\n";
print ENV "export ROOTLIBDIR=\"\$ROOT/usr/lib/$multiarch32\"\n";
print ENV "export ROOTLIBDIR64=\"\$ROOT/usr/lib/$multiarch64\"\n";
+ print ENV "export LEX='/usr/bin/flex -l'\n";
close(ENV);
} else {
error("Failed to write `$env': $!");