summaryrefslogtreecommitdiff
path: root/pkgtools/digest
diff options
context:
space:
mode:
authoragc <agc>2001-10-30 14:07:33 +0000
committeragc <agc>2001-10-30 14:07:33 +0000
commit4cd0fc574c6d5cc2cafd9af6342138ab7340ca35 (patch)
tree2f281bc0dc76c7b788a10cac1f779eff693ea7f5 /pkgtools/digest
parentba3995d0c59db91e2b7a695b098483668fe85a1f (diff)
downloadpkgsrc-4cd0fc574c6d5cc2cafd9af6342138ab7340ca35.tar.gz
Don't build digest statically on Darwin.
Diffstat (limited to 'pkgtools/digest')
-rw-r--r--pkgtools/digest/files/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/digest/files/Makefile b/pkgtools/digest/files/Makefile
index 7ea0bd5d86e..de489391f18 100644
--- a/pkgtools/digest/files/Makefile
+++ b/pkgtools/digest/files/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/07/09 21:42:03 hubertf Exp $
+# $NetBSD: Makefile,v 1.8 2001/10/30 14:07:33 agc 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) || (${OPSYS} == SunOS)
+.if !exists(/usr/include/md5.h) || ${OPSYS} == "SunOS"
SRCS+= md5c.c md5hl.c
.endif
@@ -30,7 +30,7 @@ CPPFLAGS+= -DHAVE_MACHINE_ENDIAN_H_
.if (${OPSYS} == SunOS)
NOMAN= YES
-.else
+.elif ${OPSYS} != "Darwin"
LDSTATIC?= -static
.endif