diff options
Diffstat (limited to 'pkgtools/pkg_install/patches/patch-ac')
-rw-r--r-- | pkgtools/pkg_install/patches/patch-ac | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgtools/pkg_install/patches/patch-ac b/pkgtools/pkg_install/patches/patch-ac new file mode 100644 index 00000000000..6d1693eb1b3 --- /dev/null +++ b/pkgtools/pkg_install/patches/patch-ac @@ -0,0 +1,32 @@ +$NetBSD: patch-ac,v 1.1 2001/10/30 14:17:03 agc Exp $ + +On Darwin, grab the md5 files and headers from the digest package + +--- lib/Makefile 2001/10/29 21:07:57 1.1 ++++ lib/Makefile 2001/10/29 21:08:11 +@@ -5,13 +5,25 @@ + SRCS+= exec.c file.c ftpio.c global.c lpkg.c pen.c pkgdb.c \ + plist.c str.c version.c + ++OPSYS!= uname -s ++ ++.if ${OPSYS} == "Darwin" ++.PATH: ${DIGESTDIR} ++SRCS+= md5c.c md5hl.c ++CPPFLAGS+= -I${DIGESTDIR} ++.endif ++ + MKLINT= no + MKMAN= no + MKPIC= no + MKPROFILE= no + + # only needed during build - prevent installation of library ++.if ${OPSYS} == "Darwin" ++install:: ++.else + libinstall:: ++.endif + + version.o: version.h version.c + |