diff options
author | abs <abs> | 2002-06-21 15:26:07 +0000 |
---|---|---|
committer | abs <abs> | 2002-06-21 15:26:07 +0000 |
commit | 7c48314cfe2f8effc88c96216f1e70ed411543d9 (patch) | |
tree | 5ce77631308e8253266ec22ecdaf5aa8c49d909b /pkgtools/digest/Makefile | |
parent | 898cef4bbfac66b8fb7a5ddf5e33f1686ba20cf1 (diff) | |
download | pkgsrc-7c48314cfe2f8effc88c96216f1e70ed411543d9.tar.gz |
Make this work under Linux, and fix manpage install on SunOS
Diffstat (limited to 'pkgtools/digest/Makefile')
-rw-r--r-- | pkgtools/digest/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgtools/digest/Makefile b/pkgtools/digest/Makefile index f0526c29528..4756ddbda29 100644 --- a/pkgtools/digest/Makefile +++ b/pkgtools/digest/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2002/03/04 11:57:10 seb Exp $ +# $NetBSD: Makefile,v 1.24 2002/06/21 15:26:07 abs Exp $ # # When adding new digest algorithms, please use rmd160 as the template, # and bump the VERSION definition. @@ -28,6 +28,13 @@ MAKE_ENV+= VERSION="${VERSION}" .if ${OPSYS} == "SunOS" MAKEFLAGS+= NETBSD_COMPATIBLE=YES MANINSTALL= +.elif ${OPSYS} == "Linux" +CPPFLAGS+=-D__COPYRIGHT\(x\)=\; -D__RCSID\(x\)=\; +.endif +.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux" +PLIST= ${WRKSRC}/.PLIST +post-install: + ${GREP} -v '^man/cat' ${PKGDIR}/PLIST > ${PLIST} .endif post-extract: |