Remove -Werror so this builds on -current. While here, fix some pkglint warnings and set LICENSE.diff -r1.15 -r1.16 pkgsrc/textproc/bsdgrep-devel/Makefile
(wiz)
@@ -1,23 +1,25 @@ | @@ -1,23 +1,25 @@ | |||
1 | # $NetBSD: Makefile,v 1.15 2010/02/26 10:28:35 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.16 2011/09/29 20:46:59 wiz Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= bsdgrep-20071201 | 4 | DISTNAME= bsdgrep-20071201 | |
5 | PKGNAME= bsdgrep-devel-20071201 | 5 | PKGNAME= bsdgrep-devel-20071201 | |
6 | CATEGORIES= sysutils textproc | 6 | CATEGORIES= sysutils textproc | |
7 | MASTER_SITES= http://www.fawlty.net/software/ | 7 | MASTER_SITES= http://www.fawlty.net/software/ | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= # none | 10 | HOMEPAGE= # none | |
11 | COMMENT= BSD version of grep as in NetBSD src/usr.bin/grep | 11 | COMMENT= BSD version of grep as in NetBSD src/usr.bin/grep | |
12 | LICENSE= original-bsd | |||
12 | 13 | |||
13 | PKG_DESTDIR_SUPPORT= user-destdir | 14 | PKG_DESTDIR_SUPPORT= user-destdir | |
14 | 15 | |||
15 | USE_BSD_MAKEFILE= yes | 16 | USE_BSD_MAKEFILE= yes | |
17 | BUILDLINK_TRANSFORM+= rm:-Werror | |||
16 | 18 | |||
17 | INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 | 19 | INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 | |
18 | 20 | |||
19 | post-patch: | 21 | post-patch: | |
20 | @${SED} -e 's|grep|bgrep|g' ${WRKSRC}/grep.1 > ${WRKSRC}/bgrep.1 | 22 | ${SED} -e 's|grep|bgrep|g' ${WRKSRC}/grep.1 > ${WRKSRC}/bgrep.1 | |
21 | 23 | |||
22 | .include "../../devel/zlib/buildlink3.mk" | 24 | .include "../../devel/zlib/buildlink3.mk" | |
23 | .include "../../mk/bsd.pkg.mk" | 25 | .include "../../mk/bsd.pkg.mk" |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.12 2008/06/21 20:37:40 joerg Exp $ | 1 | $NetBSD: distinfo,v 1.13 2011/09/29 20:46:59 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (bsdgrep-20071201.tar.gz) = ae5eabcaa6fbf1760023ee6f3d4a596fe1db9039 | 3 | SHA1 (bsdgrep-20071201.tar.gz) = ae5eabcaa6fbf1760023ee6f3d4a596fe1db9039 | |
4 | RMD160 (bsdgrep-20071201.tar.gz) = 915ac4d8c6a44e56a6bf88454e7cc9ae5dc7f363 | 4 | RMD160 (bsdgrep-20071201.tar.gz) = 915ac4d8c6a44e56a6bf88454e7cc9ae5dc7f363 | |
5 | Size (bsdgrep-20071201.tar.gz) = 13161 bytes | 5 | Size (bsdgrep-20071201.tar.gz) = 13161 bytes | |
6 | SHA1 (patch-aa) = bd3d73bbd72890173f63a63bf9f38725ad32c714 | 6 | SHA1 (patch-aa) = cd477be4588aed5c09b4fdd920d84fdc27119185 |
@@ -1,13 +1,15 @@ | @@ -1,13 +1,15 @@ | |||
1 | $NetBSD: patch-aa,v 1.5 2011/09/29 20:46:59 wiz Exp $ | |||
2 | ||||
1 | --- Makefile.orig 2006-05-15 21:12:21.000000000 +0000 | 3 | --- Makefile.orig 2006-05-15 21:12:21.000000000 +0000 | |
2 | +++ Makefile 2007-12-08 23:52:46.000000000 +0000 | 4 | +++ Makefile 2007-12-08 23:52:46.000000000 +0000 | |
3 | @@ -2,21 +1,26 @@ | 5 | @@ -2,21 +1,26 @@ | |
4 | 6 | |||
5 | -PROG= grep | 7 | -PROG= grep | |
6 | +PROG= bgrep | 8 | +PROG= bgrep | |
7 | SRCS= binary.c file.c grep.c mmfile.c queue.c util.c | 9 | SRCS= binary.c file.c grep.c mmfile.c queue.c util.c | |
8 | 10 | |||
9 | -LINKS= ${BINDIR}/grep ${BINDIR}/egrep \ | 11 | -LINKS= ${BINDIR}/grep ${BINDIR}/egrep \ | |
10 | - ${BINDIR}/grep ${BINDIR}/fgrep \ | 12 | - ${BINDIR}/grep ${BINDIR}/fgrep \ | |
11 | - ${BINDIR}/grep ${BINDIR}/zgrep \ | 13 | - ${BINDIR}/grep ${BINDIR}/zgrep \ | |
12 | - ${BINDIR}/grep ${BINDIR}/zegrep \ | 14 | - ${BINDIR}/grep ${BINDIR}/zegrep \ | |
13 | - ${BINDIR}/grep ${BINDIR}/zfgrep | 15 | - ${BINDIR}/grep ${BINDIR}/zfgrep |