Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/pkg_install/admin Don't warn about @src being depre...



details:   https://anonhg.NetBSD.org/src/rev/0f3cb400741b
branches:  trunk
changeset: 508668:0f3cb400741b
user:      hubertf <hubertf%NetBSD.org@localhost>
date:      Tue Apr 17 10:42:11 2001 +0000

description:
Don't warn about @src being deprecated any longer - we add it per default
to each binary pkg again (via pkg_create -L) to assist DESTDIR builds.

Noted by Dan McMahill in private mail.

diffstat:

 usr.sbin/pkg_install/admin/main.c |  12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diffs (44 lines):

diff -r df550ffcce59 -r 0f3cb400741b usr.sbin/pkg_install/admin/main.c
--- a/usr.sbin/pkg_install/admin/main.c Tue Apr 17 10:33:35 2001 +0000
+++ b/usr.sbin/pkg_install/admin/main.c Tue Apr 17 10:42:11 2001 +0000
@@ -1,8 +1,8 @@
-/*     $NetBSD: main.c,v 1.22 2001/04/14 00:01:28 hubertf Exp $        */
+/*     $NetBSD: main.c,v 1.23 2001/04/17 10:42:11 hubertf Exp $        */
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: main.c,v 1.22 2001/04/14 00:01:28 hubertf Exp $");
+__RCSID("$NetBSD: main.c,v 1.23 2001/04/17 10:42:11 hubertf Exp $");
 #endif
 
 /*
@@ -116,13 +116,11 @@
                                dirp = dir;
                        }
                        break;
-               case PLIST_SRC:
-                       warnx("@src is deprecated - please send-pr for %s!\n", PkgName);
-                       break;
                case PLIST_IGNORE:
                        p = p->next;
                        break;
                case PLIST_SHOW_ALL:
+               case PLIST_SRC:
                case PLIST_CMD:
                case PLIST_CHMOD:
                case PLIST_CHOWN:
@@ -228,13 +226,11 @@
                                        dirp = dir;
                                }
                                break;
-                       case PLIST_SRC:
-                               warnx("@src is deprecated - please send-pr for %s!\n", PkgName);
-                               break;
                        case PLIST_IGNORE:
                                p = p->next;
                                break;
                        case PLIST_SHOW_ALL:
+                       case PLIST_SRC:
                        case PLIST_CMD:
                        case PLIST_CHMOD:
                        case PLIST_CHOWN:



Home | Main Index | Thread Index | Old Index