diff options
Diffstat (limited to 'comms/minicom/patches/patch-ae')
-rw-r--r-- | comms/minicom/patches/patch-ae | 38 |
1 files changed, 26 insertions, 12 deletions
diff --git a/comms/minicom/patches/patch-ae b/comms/minicom/patches/patch-ae index 37905d23557..cb437ff38f7 100644 --- a/comms/minicom/patches/patch-ae +++ b/comms/minicom/patches/patch-ae @@ -1,14 +1,28 @@ -$NetBSD: patch-ae,v 1.2 1998/08/07 10:36:43 agc Exp $ +$NetBSD: patch-ae,v 1.3 1999/04/14 21:13:24 tron Exp $ ---- minicom.c.orig Sat Sep 27 17:03:30 1997 -+++ minicom.c Fri Jan 9 19:59:13 1998 -@@ -530,7 +530,8 @@ - /* Loop again if more options */ - } while(optind < argk); +--- po/Makefile.orig Sun Jan 10 01:22:51 1999 ++++ po/Makefile Wed Apr 14 22:57:19 1999 +@@ -1,7 +1,6 @@ +-INSTALL= /usr/bin/install -c +-INSTALL_PROGRAM= ${INSTALL} +-INSTALL_DATA= ${INSTALL} -m 644 +-INSTALLNLSDIR=/usr/share/locale ++INSTALL_DATA= ${BSD_INSTALL_DATA} ++INSTALL_DATA_DIR= ${BSD_INSTALL_DATA_DIR} ++INSTALLNLSDIR= ${PREFIX}/share/locale -- if (real_uid == 0 && dosetup == 0) { -+ /* also allow root to run minicom with `-d' switch */ -+ if (real_uid == 0 && dosetup == 0 && cmd_dial == NULL) { - fprintf(stderr, "%s%s%s", - "minicom: WARNING: please don't run minicom as root when not maintaining\n", - " it (with the -s switch) since all changes to the\n", + MSGMERGE = msgmerge + +@@ -52,9 +51,9 @@ + install: $(CATALOGS) + for n in $(CATALOGS); do \ + l=`basename $$n .mo`; \ +- $(INSTALL) -m 755 -d $(R)$(INSTALLNLSDIR)/$$l; \ +- $(INSTALL) -m 755 -d $(R)$(INSTALLNLSDIR)/$$l/LC_MESSAGES; \ +- $(INSTALL) -m 644 $$n $(R)$(INSTALLNLSDIR)/$$l/LC_MESSAGES/minicom.mo; \ ++ $(INSTALL_DATA_DIR) $(R)$(INSTALLNLSDIR)/$$l; \ ++ $(INSTALL_DATA_DIR) $(R)$(INSTALLNLSDIR)/$$l/LC_MESSAGES; \ ++ $(INSTALL_DATA) $$n $(R)$(INSTALLNLSDIR)/$$l/LC_MESSAGES/minicom.mo; \ + done + + %.mo: %.po |