Subject: gettext-0.10.35 and sharutils-4.2.1 (NetBSD/macppc)
To: None <port-macppc@netbsd.org>
From: Makoto Fujiwara <makoto@ki.nu>
List: port-macppc
Date: 12/01/1999 01:38:19
----Next_Part(Wed_Dec__1_01:37:29_1999_110)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I was trying to get sharutils-4.2.1 to work,
I needed gettext-0.10.35.

(1) gettext-.10.35/config.guess and config.sub
I think gettext had (obsolete?) config.guess and config.sub.
So I grabbed the those from other package,
   147  0:20    cp gimp-1.1.11/config.sub gettext-0.10.35/
   150  0:21    cp gtk+-1.2.5/config.guess gettext-0.10.35/

makoto@harry  0:27:15/991201(...src-harry/gettext-0.10.35)> ls -l config.sub config.guess
-rwxr-xr-x  1 makoto  wheel  31247 Dec  1 00:21 config.guess*
-rwxr-xr-x  1 makoto  wheel  24171 Dec  1 00:20 config.sub*

This solves the following message,
makoto@harry  1:29:58/991201(...src-harry/gettext-0.10.35)> ./configure
creating cache ./config.cache
........
checking host system type... Invalid configuration `macppc-unknown-netbsd1.3J': machine `macppc-unknown' not recognized
........
ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed
makoto@harry  1:30:31/991201(...src-harry/gettext-0.10.35)> 
Am I correct ?

(2) sharutils-4.2.1
I got  following two Errors, which I did not have with
NetBSD/sparc, I belive,

| /usr/local/bin/msgfmt -o nl.mo nl.po
|  file=./`echo nl | sed 's,.*/,,'`.gmo  && rm -f $file && /usr/local/bin/msgfmt -o $file nl.po
| /usr/local/bin/msgfmt -o pt.mo pt.po
| pt.po:415: `msgid' and `msgstr' entries do not both end with '\n'
| pt.po:419: `msgid' and `msgstr' entries do not both end with '\n'
| found 2 fatal errors
| *** Error code 1
.....
| making all in po
| /usr/local/bin/msgfmt -o pt.mo pt.po
| pt.po:419: `msgid' and `msgstr' entries do not both end with '\n'
| found 1 fatal errors

I have changes two files. Am I doing correct thing ?
---
Makoto Fujiwara

----Next_Part(Wed_Dec__1_01:37:29_1999_110)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="sharutils-po-patch.shtml"

<PRE>
--- sharutils-4.2.1/po/nl.po-ooo	Tue Dec  5 01:55:56 1995
+++ sharutils-4.2.1/po/nl.po	Wed Dec  1 00:40:14 1999
@@ -448,7 +448,7 @@
 
 #: src/shar.c:2121
 msgid "Created %d files\n"
-msgstr "%d bestand(en) aangemaakt"
+msgstr "%d bestand(en) aangemaakt\n"
 
 #: src/unshar.c:158
 msgid "Found no shell commands in %s"
--- sharutils-4.2.1/po/pt.po-ooo	Tue Dec  5 01:55:56 1995
+++ sharutils-4.2.1/po/pt.po	Wed Dec  1 00:41:14 1999
@@ -413,11 +413,11 @@
 
 #: src/shar.c:1819
 msgid "Hard limit %dk\n"
-msgstr "Limite tipo `hard' de %dk"
+msgstr "Limite tipo `hard' de %dk\n"
 
 #: src/shar.c:1886
 msgid "Soft limit %dk\n"
-msgstr "Limite tipo `soft' de %dk"
+msgstr "Limite tipo `soft' de %dk\n"
 
 #: src/shar.c:1987
 msgid "WARNING: No user interaction in vanilla mode"

----Next_Part(Wed_Dec__1_01:37:29_1999_110)----