freebsd-ports/devel/popt/files/patch-Makefile.in
Andrew Pantyukhin 2ec15bd3a7 - Remove qualifiers on some functions' return types
- This tweak pacifies gcc 4.x for ports depending
  on popt

Reported by:	pointyhat via kris
Discussed with:	rafan
2007-04-04 08:33:59 +00:00

38 lines
961 B
Plaintext

--- ./Makefile.in.orig Sat Aug 31 17:22:18 2002
+++ ./Makefile.in Wed Apr 4 12:24:18 2007
@@ -124,7 +124,7 @@
popt.ps
-SUBDIRS = intl po
+SUBDIRS = po
INCLUDES = -I. -I$(top_srcdir)
@@ -133,13 +133,13 @@
noinst_PROGRAMS = test1 test2 test3
test1_SOURCES = test1.c
test1_LDFLAGS = -all-static
-test1_LDADD = $(lib_LTLIBRARIES)
+test1_LDADD = $(lib_LTLIBRARIES) $(LTLIBICONV)
test2_SOURCES = test2.c
test2_LDFLAGS = -all-static
-test2_LDADD = $(lib_LTLIBRARIES)
+test2_LDADD = $(lib_LTLIBRARIES) $(LTLIBICONV)
test3_SOURCES = test3.c
test3_LDFLAGS = -all-static
-test3_LDADD = $(lib_LTLIBRARIES)
+test3_LDADD = $(lib_LTLIBRARIES) # $(LTLIBICONV)
noinst_SCRIPTS = testit.sh
@@ -164,7 +164,7 @@
LTLIBRARIES = $(lib_LTLIBRARIES)
libpopt_la_LDFLAGS =
-libpopt_la_LIBADD =
+libpopt_la_LIBADD = $(LTLIBINTL)
am_libpopt_la_OBJECTS = popt.lo findme.lo poptparse.lo poptconfig.lo \
popthelp.lo
libpopt_la_OBJECTS = $(am_libpopt_la_OBJECTS)