summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-08-10 10:38:09 +0000
committeragc <agc@pkgsrc.org>1999-08-10 10:38:09 +0000
commit5a663366ac9933fffb2bc17d724fc244a82856c1 (patch)
tree20dd70d6d46354176422cc9391d3221dba93385b /pkgtools/pkglint
parent8d435e9b5959ff2a6da6fefe239526f87035b293 (diff)
downloadpkgsrc-5a663366ac9933fffb2bc17d724fc244a82856c1.tar.gz
Small change to make pkglint run on Linux, much the same as the change
used to make it run on Solaris - force the osname to be NetBSD, since pkgsrc is the same on all these different operating systems. Bump version number to 1.75 accordingly.
Diffstat (limited to 'pkgtools/pkglint')
-rw-r--r--pkgtools/pkglint/Makefile4
-rw-r--r--pkgtools/pkglint/files/pkglint.pl4
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile
index 2be4d60aaf2..9342318fdf7 100644
--- a/pkgtools/pkglint/Makefile
+++ b/pkgtools/pkglint/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.14 1999/08/01 18:34:40 abs Exp $
+# $NetBSD: Makefile,v 1.15 1999/08/10 10:38:09 agc Exp $
#
-DISTNAME= pkglint-1.74
+DISTNAME= pkglint-1.75
CATEGORIES= pkgtools devel
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 00c5229ee8f..83bde59e308 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -11,7 +11,7 @@
# Freely redistributable. Absolutely no warranty.
#
# From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp
-# $NetBSD: pkglint.pl,v 1.9 1999/07/08 09:46:09 agc Exp $
+# $NetBSD: pkglint.pl,v 1.10 1999/08/10 10:38:10 agc Exp $
#
# This version contains some changes necessary for NetBSD packages
# done by Hubert Feyrer <hubertf@netbsd.org> and
@@ -75,7 +75,7 @@ NetBSD @PORTSDIR@ NetBSD 1 1 1 0 1 @PREFIX@
EOF
$osname = `uname -s`;
$osname =~ s/\n$//;
-if ($osname eq "SunOS") {
+if (($osname eq "SunOS") || ($osname eq "Linux")) {
$osname = "NetBSD"
}
foreach $i (@osdep) {