summaryrefslogtreecommitdiff
path: root/pkgtools/digest
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-07-09 21:42:03 +0000
committerhubertf <hubertf@pkgsrc.org>2001-07-09 21:42:03 +0000
commit9fbec0016f478d4fafac55ba0fec6d93f2f847d5 (patch)
treecce2320bb10372814f7313f0e1df234c380c3299 /pkgtools/digest
parent1552b67c41b32b01dc4d656d8eea8a56d3269977 (diff)
downloadpkgsrc-9fbec0016f478d4fafac55ba0fec6d93f2f847d5.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