summaryrefslogtreecommitdiff
path: root/pkgtools/digest
diff options
context:
space:
mode:
authorhubertf <hubertf>2001-07-09 21:42:03 +0000
committerhubertf <hubertf>2001-07-09 21:42:03 +0000
commit3e3baa59e71840e2d859f9ec540bb9771772affc (patch)
treecce2320bb10372814f7313f0e1df234c380c3299 /pkgtools/digest
parent629067c61612e527a5ec17f7b49b4efceef04a06 (diff)
downloadpkgsrc-3e3baa59e71840e2d859f9ec540bb9771772affc.tar.gz
Always use this pkg's md5 routines. The Solaris ones e.g. aren't
compatible, and not everyone uses a full BSD environment on !BSD.
Diffstat (limited to 'pkgtools/digest')
-rw-r--r--pkgtools/digest/files/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/digest/files/Makefile b/pkgtools/digest/files/Makefile
index e6c3839cab7..7ea0bd5d86e 100644
--- a/pkgtools/digest/files/Makefile
+++ b/pkgtools/digest/files/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2001/03/29 08:42:14 agc Exp $
+# $NetBSD: Makefile,v 1.7 2001/07/09 21:42:03 hubertf Exp $
# When adding new digest algorithms, please use rmd160 as the template,
# and bump the version definition in the package Makefile
@@ -16,7 +16,7 @@ SRCS+= sha1.c sha1hl.c
SRCS+= sha2.c sha2hl.c
.endif
-.if !exists(/usr/include/md5.h)
+.if !exists(/usr/include/md5.h) || (${OPSYS} == SunOS)
SRCS+= md5c.c md5hl.c
.endif