summaryrefslogtreecommitdiff
path: root/devel/gettext-tools/patches/patch-ag
blob: e04cc05100e685ffbc3b49cb3e2ad691e692e99d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
$NetBSD: patch-ag,v 1.2 2006/07/26 06:53:02 adam Exp $

--- gettext-tools/lib/Makefile.in.orig	2006-06-21 14:30:05.000000000 +0200
+++ gettext-tools/lib/Makefile.in
@@ -453,7 +453,7 @@ libgettextlib_la_LIBADD = @LTLIBOBJS@
 # Need @LTLIBICONV@ because linebreak.c uses iconv().
 libgettextlib_la_LDFLAGS = \
   -release @VERSION@ \
-  @LTLIBINTL@ @LTLIBICONV@ -lc -no-undefined
+  @LTLIBINTL@ @LTLIBICONV@ -lc
 
 
 # Extra files to be installed.
@@ -681,7 +681,7 @@ check: $(BUILT_SOURCES)
 	$(MAKE) $(AM_MAKEFLAGS) check-am
 all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) all-local
 installdirs:
-	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(examplesbuildauxdir)" "$(DESTDIR)$(gettextsrcdir)"; do \
+	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(gettextsrcdir)"; do \
 	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
 	done
 install: $(BUILT_SOURCES)
@@ -733,7 +733,7 @@ info: info-am
 
 info-am:
 
-install-data-am: install-examplesbuildauxDATA install-gettextsrcDATA
+install-data-am:
 
 install-exec-am: install-exec-local install-libLTLIBRARIES
 
@@ -779,15 +779,6 @@ uninstall-am: uninstall-examplesbuildaux
 	uninstall-gettextsrcDATA uninstall-info-am \
 	uninstall-libLTLIBRARIES uninstall-local
 
-
-# No need to install libgettextlib.a, except on AIX.
-install-exec-local: install-libLTLIBRARIES install-exec-clean
-install-exec-clean:
-	case "@host_os@" in \
-	  aix*) ;; \
-	  *) $(RM) $(DESTDIR)$(libdir)/libgettextlib.a ;; \
-	esac
-
 # The following is needed in order to create an <stdbool.h> when the system
 # doesn't have one that works.
 all-local $(libgettextlib_la_OBJECTS): @STDBOOL_H@