Files
pkgsrc-ng/devel/gettext/patches/patch-gettext-tools_tests_Makefile.in
2016-01-21 23:40:00 +01:00

18 lines
660 B
Plaintext

$NetBSD: patch-gettext-tools_tests_Makefile.in,v 1.1 2014/07/17 13:41:57 ryoon Exp $
--- gettext-tools/tests/Makefile.in.orig 2014-01-07 06:18:52.000000000 +0000
+++ gettext-tools/tests/Makefile.in
@@ -1937,7 +1937,12 @@ AM_CPPFLAGS = \
# INTL_MACOSX_LIBS is needed because the programs depend on libintl.la
# but libtool doesn't put -Wl,-framework options into .la files.
+OS != uname -s
+.if ${OS} == SCO_SV
+LDADD = # empty
+.else
LDADD = $(LDADD_@USE_INCLUDED_LIBINTL@) @INTL_MACOSX_LIBS@
+.endif
LDADD_yes = ../intl/libintl.la @LTLIBTHREAD@
LDADD_no = ../intl/libgnuintl.la @LTLIBTHREAD@ @LTLIBINTL@
tstgettext_SOURCES = tstgettext.c setlocale.c