summaryrefslogtreecommitdiff
path: root/devel/gettext/patches
diff options
context:
space:
mode:
authoritojun <itojun>2000-10-31 17:06:17 +0000
committeritojun <itojun>2000-10-31 17:06:17 +0000
commit36ccbbeb26487d277fcb575b984a7bb620f08af2 (patch)
treed656ec594542379490139f185427da0e868ffc2c /devel/gettext/patches
parent0208d487fd8f6c23a2b34696ec138abdbbb951ea (diff)
downloadpkgsrc-36ccbbeb26487d277fcb575b984a7bb620f08af2.tar.gz
split devel/gettext into devel/gettext and devel/gettext-lib.
TODO: gettext-lib can be omitted if we have /usr/lib/libintl.a.
Diffstat (limited to 'devel/gettext/patches')
-rw-r--r--devel/gettext/patches/patch-ai63
-rw-r--r--devel/gettext/patches/patch-aj13
-rw-r--r--devel/gettext/patches/patch-ak19
3 files changed, 95 insertions, 0 deletions
diff --git a/devel/gettext/patches/patch-ai b/devel/gettext/patches/patch-ai
new file mode 100644
index 00000000000..473b39a007e
--- /dev/null
+++ b/devel/gettext/patches/patch-ai
@@ -0,0 +1,63 @@
+$NetBSD: patch-ai,v 1.1 2000/10/31 17:06:18 itojun Exp $
+
+use already-installed libintl, not in-tree libintl
+
+--- src/Makefile.in.orig Fri May 1 15:47:25 1998
++++ src/Makefile.in Wed Nov 1 01:25:11 2000
+@@ -108,7 +108,7 @@
+
+ INCLUDES = -I$(srcdir) -I.. -I$(top_srcdir)/lib -I../intl -I$(top_srcdir)/intl
+ DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
+-LDADD = ../lib/libnlsut.a ../intl/libintl.$la
++LDADD = ../lib/libnlsut.a
+
+ SED = sed
+ YACC = @YACC@
+@@ -136,39 +136,39 @@
+
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-LIBS = @LIBS@
++LIBS = @LIBS@ -lintl
+ gettext_OBJECTS = gettextp.o
+ gettext_LDADD = $(LDADD)
+-gettext_DEPENDENCIES = ../lib/libnlsut.a ../intl/libintl.$la
++gettext_DEPENDENCIES = ../lib/libnlsut.a
+ gettext_LDFLAGS =
+ msgcmp_OBJECTS = message.o msgcmp.o open-po.o po-gram.gen.o \
+ po-hash.gen.o po-lex.o po.o str-list.o dir-list.o
+ msgcmp_LDADD = $(LDADD)
+-msgcmp_DEPENDENCIES = ../lib/libnlsut.a ../intl/libintl.$la
++msgcmp_DEPENDENCIES = ../lib/libnlsut.a
+ msgcmp_LDFLAGS =
+ msgfmt_OBJECTS = msgfmt.o open-po.o po-gram.gen.o po-hash.gen.o \
+ po-lex.o po.o str-list.o message.o dir-list.o
+ msgfmt_LDADD = $(LDADD)
+-msgfmt_DEPENDENCIES = ../lib/libnlsut.a ../intl/libintl.$la
++msgfmt_DEPENDENCIES = ../lib/libnlsut.a
+ msgfmt_LDFLAGS =
+ msgmerge_OBJECTS = message.o msgmerge.o open-po.o po-gram.gen.o \
+ po-hash.gen.o po-lex.o po.o str-list.o dir-list.o
+ msgmerge_LDADD = $(LDADD)
+-msgmerge_DEPENDENCIES = ../lib/libnlsut.a ../intl/libintl.$la
++msgmerge_DEPENDENCIES = ../lib/libnlsut.a
+ msgmerge_LDFLAGS =
+ msgunfmt_OBJECTS = message.o msgunfmt.o str-list.o
+ msgunfmt_LDADD = $(LDADD)
+-msgunfmt_DEPENDENCIES = ../lib/libnlsut.a ../intl/libintl.$la
++msgunfmt_DEPENDENCIES = ../lib/libnlsut.a
+ msgunfmt_LDFLAGS =
+ xgettext_OBJECTS = message.o open-po.o po-gram.gen.o po-hash.gen.o \
+ po-lex.o po.o str-list.o xget-lex.o xgettext.o dir-list.o
+ xgettext_LDADD = $(LDADD)
+-xgettext_DEPENDENCIES = ../lib/libnlsut.a ../intl/libintl.$la
++xgettext_DEPENDENCIES = ../lib/libnlsut.a
+ xgettext_LDFLAGS =
+ msgcomm_OBJECTS = msgcomm.o message.o po-gram.gen.o po-hash.gen.o \
+ po-lex.o open-po.o po.o str-list.o dir-list.o
+ msgcomm_LDADD = $(LDADD)
+-msgcomm_DEPENDENCIES = ../lib/libnlsut.a ../intl/libintl.$la
++msgcomm_DEPENDENCIES = ../lib/libnlsut.a
+ msgcomm_LDFLAGS =
+ CFLAGS = @CFLAGS@
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
diff --git a/devel/gettext/patches/patch-aj b/devel/gettext/patches/patch-aj
new file mode 100644
index 00000000000..32caf0b6923
--- /dev/null
+++ b/devel/gettext/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1 2000/10/31 17:06:18 itojun Exp $
+
+--- Makefile.in- Wed Nov 1 01:32:40 2000
++++ Makefile.in Wed Nov 1 01:32:49 2000
+@@ -103,7 +103,7 @@
+ gettextsrc_DATA = ABOUT-NLS
+
+ EXTRA_DIST = BUGS DISCLAIM README.gemtext
+-SUBDIRS = doc lib intl src po m4 misc tests
++SUBDIRS = doc lib src po m4 misc tests
+
+ DISTCLEANFILES = intl/libintl.h
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
diff --git a/devel/gettext/patches/patch-ak b/devel/gettext/patches/patch-ak
new file mode 100644
index 00000000000..a148709a9f4
--- /dev/null
+++ b/devel/gettext/patches/patch-ak
@@ -0,0 +1,19 @@
+$NetBSD: patch-ak,v 1.1 2000/10/31 17:06:19 itojun Exp $
+
+use locally-built msgfmt.
+
+--- po/Makefile.in.in- Wed Nov 1 01:46:43 2000
++++ po/Makefile.in.in Wed Nov 1 01:47:00 2000
+@@ -30,9 +30,9 @@
+
+ CC = @CC@
+ GENCAT = @GENCAT@
+-GMSGFMT = PATH=../src:$$PATH @GMSGFMT@
+-MSGFMT = @MSGFMT@
+-XGETTEXT = PATH=../src:$$PATH @XGETTEXT@
++GMSGFMT = PATH=../src:$$PATH msgfmt
++MSGFMT = PATH=../src:$$PATH msgfmt
++XGETTEXT = PATH=../src:$$PATH xgettext
+ MSGMERGE = PATH=../src:$$PATH msgmerge
+
+ DEFS = @DEFS@