Make this build with the latest "zoularis" again.

This commit is contained in:
tron 2001-03-11 22:29:16 +00:00
parent 5b9e542c1d
commit 49942d77b2
2 changed files with 9 additions and 5 deletions

View file

@ -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 \

View file

@ -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)