summaryrefslogtreecommitdiff
path: root/pkgtools/digest/Makefile
diff options
context:
space:
mode:
authortron <tron>2001-03-11 22:29:16 +0000
committertron <tron>2001-03-11 22:29:16 +0000
commitb71645d374e68a197e4e86e4a42534be382a007e (patch)
treeaf9b8f9416eba35e4e70019bd5a80774b1db03ab /pkgtools/digest/Makefile
parent008afa00ba5ceb07ac1b8555a34be8878ca43985 (diff)
downloadpkgsrc-b71645d374e68a197e4e86e4a42534be382a007e.tar.gz
Make this build with the latest "zoularis" again.
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 \