Files
pkgsrc-ng/devel/flex/patches/patch-src_Makefile.am
2016-11-18 22:39:22 +01:00

26 lines
611 B
Plaintext

$NetBSD: patch-src_Makefile.am,v 1.3 2016/08/12 10:12:23 mef Exp $
libfl* do not need to be linked against libintl, only the binaries do.
https://sourceforge.net/p/flex/bugs/198/
--- src/Makefile.am.orig 2015-11-13 19:32:53.000000000 +0000
+++ src/Makefile.am
@@ -1,7 +1,7 @@
AM_YFLAGS = -d
localedir = $(datadir)/locale
AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" -I$(top_srcdir)/intl
-LIBS = @LIBINTL@ @LIBS@
+LIBS = @LIBS@
m4 = @M4@
@@ -33,7 +33,7 @@ flex_SOURCES = \
filter.c \
regex.c
-LDADD = ../lib/libcompat.la
+LDADD = ../lib/libcompat.la @LIBINTL@
libfl_la_SOURCES = \
libmain.c \