ports/devel/popt/files/patch-Makefile.in
Josh Paetzel dc730f320a Add LICENSE
Along the way silence portlint warnings about the patch files.
2017-07-12 14:42:19 +00:00

32 lines
1.1 KiB
Text

--- Makefile.in.orig 2017-07-12 14:39:00 UTC
+++ Makefile.in
@@ -92,7 +92,7 @@ am__base_list = \
am__installdirs = "$(DESTDIR)$(usrlibdir)" "$(DESTDIR)$(man3dir)" \
"$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"
LTLIBRARIES = $(usrlib_LTLIBRARIES)
-libpopt_la_LIBADD =
+libpopt_la_LIBADD = $(LTLIBINTL)
am_libpopt_la_OBJECTS = popt.lo poptparse.lo poptconfig.lo popthelp.lo \
poptint.lo
libpopt_la_OBJECTS = $(am_libpopt_la_OBJECTS)
@@ -349,16 +349,16 @@ AM_CPPFLAGS = -I. -I$(top_srcdir)
noinst_HEADERS = poptint.h system.h
test1_SOURCES = test1.c
test1_LDFLAGS =
-test1_LDADD = $(usrlib_LTLIBRARIES)
+test1_LDADD = $(usrlib_LTLIBRARIES) $(LTLIBICONV)
test2_SOURCES = test2.c
test2_LDFLAGS =
-test2_LDADD = $(usrlib_LTLIBRARIES)
+test2_LDADD = $(usrlib_LTLIBRARIES) $(LTLIBICONV)
#test3_SOURCES = test3.c
#test3_LDFLAGS =
-#test3_LDADD = $(usrlib_LTLIBRARIES)
+#test3_LDADD = $(usrlib_LTLIBRARIES) $(LTLIBICONV)
tdict_SOURCES = tdict.c
tdict_LDFLAGS =
-tdict_LDADD = $(usrlib_LTLIBRARIES)
+tdict_LDADD = $(usrlib_LTLIBRARIES) $(LTLIBICONV)
noinst_SCRIPTS = testit.sh
TESTS_ENVIRONMENT = \
test1="$(top_builddir)/test1"