summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-freebsd/freebsd-bin/files/freebsd-bin-flex.patch')
-rw-r--r--sys-freebsd/freebsd-bin/files/freebsd-bin-flex.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-freebsd/freebsd-bin/files/freebsd-bin-flex.patch b/sys-freebsd/freebsd-bin/files/freebsd-bin-flex.patch
new file mode 100644
index 000000000000..ed3fb101eecf
--- /dev/null
+++ b/sys-freebsd/freebsd-bin/files/freebsd-bin-flex.patch
@@ -0,0 +1,12 @@
+diff -ur bin/sh/Makefile bin-flex/sh/Makefile
+--- bin/sh/Makefile 2004-03-18 10:55:47 +0000
++++ bin-flex/sh/Makefile 2005-05-05 15:03:29 +0000
+@@ -16,7 +16,7 @@
+ # builtin.1 in share/man/man1/.
+
+ DPADD= ${LIBL} ${LIBEDIT} ${LIBTERMCAP}
+-LDADD= -ll -ledit -ltermcap
++LDADD= -lfl -ledit -ltermcap
+
+ LFLAGS= -8 # 8-bit lex scanner for arithmetic
+ CFLAGS+=-DSHELL -I. -I${.CURDIR}