diff options
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/digest/Makefile | 10 | ||||
-rw-r--r-- | pkgtools/digest/files/Makefile | 4 |
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) |