summaryrefslogtreecommitdiff
path: root/pkgtools/digest/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/digest/Makefile')
-rw-r--r--pkgtools/digest/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgtools/digest/Makefile b/pkgtools/digest/Makefile
index c8ab8800b79..8d2124a6a56 100644
--- a/pkgtools/digest/Makefile
+++ b/pkgtools/digest/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/03/10 15:58:56 tron Exp $
+# $NetBSD: Makefile,v 1.8 2001/03/11 22:29:16 tron Exp $
#
# When adding new digest algorithms, please use rmd160 as the template,
# and bump the VERSION definition.
@@ -21,11 +21,15 @@ MANCOMPRESSED_IF_MANZ= YES
PLIST_SRC= ${WRKDIR}/PLIST
BUILD_DEFS+= MANINSTALL
-MAKE_ENV+= BINDIR=${LOCALBASE}/bin MANDIR=${LOCALBASE}/man
-MAKE_ENV+= CPPFLAGS="${CPPFLAGS} -DVERSION=${VERSION}"
+MAKE_ENV+= BINDIR=${LOCALBASE}/bin MANDIR=${LOCALBASE}/man
+MAKE_ENV+= VERSION="${VERSION}"
.include "../../mk/bsd.prefs.mk"
+.if (${OPSYS} == SunOS)
+MAKE_ENV+= NETBSD_COMPATIBLE=YES
+.endif
+
post-extract:
@for FILE in Makefile digest.c digest.1 \
md5c.c md5.h md5hl.c \