diff options
Diffstat (limited to 'pkgtools/pkg_install/patches/patch-ad')
-rw-r--r-- | pkgtools/pkg_install/patches/patch-ad | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/patches/patch-ad b/pkgtools/pkg_install/patches/patch-ad index 2b7e777faca..84f50057e25 100644 --- a/pkgtools/pkg_install/patches/patch-ad +++ b/pkgtools/pkg_install/patches/patch-ad @@ -1,12 +1,13 @@ -$NetBSD: patch-ad,v 1.3 2002/08/01 14:43:39 schmonz Exp $ +$NetBSD: patch-ad,v 1.4 2002/08/06 11:51:02 wiz Exp $ ---- lib/Makefile.orig Thu Aug 1 04:46:31 2002 +--- lib/Makefile.orig Thu Aug 1 10:46:31 2002 +++ lib/Makefile -@@ -5,13 +5,31 @@ LIB+= install +@@ -5,13 +5,36 @@ SRCS+= exec.c file.c ftpio.c global.c lpkg.c pen.c pkgdb.c \ plist.c str.c version.c path.c +OPSYS!= uname -s ++RELEASE!= uname -r + +.if ${OPSYS} == "Darwin" +SRCS+= md5c.c md5hl.c strlcpy.c @@ -16,6 +17,10 @@ $NetBSD: patch-ad,v 1.3 2002/08/01 14:43:39 schmonz Exp $ +SRCS+= fgetln.c md5c.c md5hl.c +.endif + ++.if ${OPSYS} == "NetBSD" && (${RELEASE:M1.4.[12]} != "" || ${RELEASE:M1.4} != "") ++SRCS+= strlcpy.c ++.endif ++ NOLINT= # defined NOMAN= # defined NOPIC= # defined |