diff options
author | agc <agc@pkgsrc.org> | 1999-03-10 08:24:16 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-03-10 08:24:16 +0000 |
commit | 74e7dd98a34c92b7d7ca1f907851d21e9b96de51 (patch) | |
tree | 9592527150a431af0c9340eb7c92912041934afd /pkgtools | |
parent | d3040e77b15ef4c0a560eb942ff56d2be0a026a4 (diff) | |
download | pkgsrc-74e7dd98a34c92b7d7ca1f907851d21e9b96de51.tar.gz |
If running on Solaris, just use the NetBSD settings - it's the same pkgsrc.
Bump version number to denote Solaris support.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/Makefile | 8 | ||||
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 5 |
2 files changed, 9 insertions, 4 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index 558fcd03b23..d5e38c4a823 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.7 1999/03/04 07:23:09 kim Exp $ +# $NetBSD: Makefile,v 1.8 1999/03/10 08:24:16 agc Exp $ # -DISTNAME= pkglint-1.68 +DISTNAME= pkglint-1.69 CATEGORIES= pkgtools devel MASTER_SITES= # empty DISTFILES= # empty @@ -20,6 +20,8 @@ NO_CONFIGURE= yes PKGSRCDIR?= ${.CURDIR}/../.. MAKE_ENV= PKGSRCDIR=${PKGSRCDIR} +.include "../../mk/bsd.prefs.mk" + do-build: ${SED} -e 's|@PREFIX@|${PREFIX}|g' \ -e 's|@PORTSDIR@|${PKGSRCDIR}|g' \ @@ -35,7 +37,7 @@ do-build: > ${WRKSRC}/plist-clash ${SED} -e 's|@PREFIX@|${PREFIX}|g' \ -e 's|@PORTSDIR@|${PKGSRCDIR}|g' \ - < ${FILESDIR}/pkglint.1 \ + < ${FILESDIR}/pkglint.1 \ > ${WRKSRC}/pkglint.1 nroff -mandoc ${WRKSRC}/pkglint.1 >${WRKSRC}/pkglint.0 diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index c0385290eb1..9a46811f35c 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.6 1999/02/18 12:27:27 frueauf Exp $ +# $NetBSD: pkglint.pl,v 1.7 1999/03/10 08:24:16 agc Exp $ # # This version contains some changes necessary for NetBSD packages # done by Hubert Feyrer <hubertf@netbsd.org> and @@ -75,6 +75,9 @@ NetBSD @PORTSDIR@ NetBSD 1 1 1 0 1 @PREFIX@ EOF $osname = `uname -s`; $osname =~ s/\n$//; +if ($osname eq "SunOS") { + $osname = "NetBSD" +} foreach $i (@osdep) { if ($i =~ /^$osname\t(.*)/) { print "OK: found OS config for $osname.\n" if ($verbose); |