summaryrefslogtreecommitdiff
path: root/pkgtools/digest
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-03-11 22:29:16 +0000
committertron <tron@pkgsrc.org>2001-03-11 22:29:16 +0000
commit49942d77b2c6b38d714deee9f7c9b3a19204460f (patch)
treeaf9b8f9416eba35e4e70019bd5a80774b1db03ab /pkgtools/digest
parent5b9e542c1d79c88dca8a508eaef0619242e75815 (diff)
downloadpkgsrc-49942d77b2c6b38d714deee9f7c9b3a19204460f.tar.gz
Make this build with the latest "zoularis" again.
Diffstat (limited to 'pkgtools/digest')
-rw-r--r--pkgtools/digest/Makefile10
-rw-r--r--pkgtools/digest/files/Makefile4
2 files changed, 9 insertions, 5 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 \
diff --git a/pkgtools/digest/files/Makefile b/pkgtools/digest/files/Makefile
index f602dc4d8ef..79c25ce95d8 100644
--- a/pkgtools/digest/files/Makefile
+++ b/pkgtools/digest/files/Makefile
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.2 2001/03/10 15:55:14 tron Exp $
+# $NetBSD: Makefile,v 1.3 2001/03/11 22:29:16 tron Exp $
# When adding new digest algorithms, please use rmd160 as the template,
# and bump the version definition in the package Makefile
PROG= digest
SRCS= digest.c
-CPPFLAGS+= -I${.CURDIR}
+CPPFLAGS+= -I${.CURDIR} -DVERSION="${VERSION}"
WARNS= 2
.if !exists(/usr/include/rmd160.h)