| @@ -1,17 +1,17 @@ | | | @@ -1,17 +1,17 @@ |
1 | # $NetBSD: Makefile,v 1.56 2021/10/26 00:19:27 gdt Exp $ | | 1 | # $NetBSD: Makefile,v 1.57 2021/11/30 05:31:56 pho Exp $ |
2 | | | 2 | |
3 | DISTNAME= bup-0.32 | | 3 | DISTNAME= bup-0.32 |
4 | PKGREVISION= 2 | | 4 | PKGREVISION= 3 |
5 | CATEGORIES= sysutils | | 5 | CATEGORIES= sysutils |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=bup/} | | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=bup/} |
7 | # bup has two problems that make packaging difficult. One is that | | 7 | # bup has two problems that make packaging difficult. One is that |
8 | # building man pages requires non-portable tools (pandoc). The other | | 8 | # building man pages requires non-portable tools (pandoc). The other |
9 | # is that it is hosted on github, which makes hosting tarballs | | 9 | # is that it is hosted on github, which makes hosting tarballs |
10 | # difficult. The combination of this leads to having a branch "man" | | 10 | # difficult. The combination of this leads to having a branch "man" |
11 | # in bup's git which has autogenerated man pages. The third problem | | 11 | # in bup's git which has autogenerated man pages. The third problem |
12 | # is that github.mk assumes that there is one distfile. | | 12 | # is that github.mk assumes that there is one distfile. |
13 | | | 13 | |
14 | # (Note to future updating self) We would like to fetch the following files, e.g.: | | 14 | # (Note to future updating self) We would like to fetch the following files, e.g.: |
15 | # https://github.com/bup/bup/archive/0.30.tar.gz | | 15 | # https://github.com/bup/bup/archive/0.30.tar.gz |
16 | # https://github.com/bup/bup/archive/28876cde4a3dac518e773860aa7969c106f5390d.tar.gz | | 16 | # https://github.com/bup/bup/archive/28876cde4a3dac518e773860aa7969c106f5390d.tar.gz |
17 | | | 17 | |
| @@ -36,28 +36,26 @@ HAS_CONFIGURE= yes | | | @@ -36,28 +36,26 @@ HAS_CONFIGURE= yes |
36 | | | 36 | |
37 | # On macOS 10.13, building bup fails with defaults but builds with | | 37 | # On macOS 10.13, building bup fails with defaults but builds with |
38 | # USE_CWRAPPERS=no. The error is | | 38 | # USE_CWRAPPERS=no. The error is |
39 | # Looking for cpp (/path/to/pkgsrc/sysutils/bup/work/.cwrapper/bin/cpp) (can't run cpp as a pipeline) | | 39 | # Looking for cpp (/path/to/pkgsrc/sysutils/bup/work/.cwrapper/bin/cpp) (can't run cpp as a pipeline) |
40 | | | 40 | |
41 | DEPENDS+= par2-[0-9]*:../../archivers/par2 | | 41 | DEPENDS+= par2-[0-9]*:../../archivers/par2 |
42 | DEPENDS+= ${PYPKGPREFIX}-tornado-[0-9]*:../../www/py-tornado | | 42 | DEPENDS+= ${PYPKGPREFIX}-tornado-[0-9]*:../../www/py-tornado |
43 | DEPENDS+= git-base-[0-9]*:../../devel/git-base | | 43 | DEPENDS+= git-base-[0-9]*:../../devel/git-base |
44 | | | 44 | |
45 | # TEST_DEPENDS | | 45 | # TEST_DEPENDS |
46 | BUILD_DEPENDS+= rsync-[0-9]*:../../net/rsync | | 46 | BUILD_DEPENDS+= rsync-[0-9]*:../../net/rsync |
47 | PYTHON_VERSIONED_DEPENDENCIES= test | | 47 | PYTHON_VERSIONED_DEPENDENCIES= test |
48 | | | 48 | |
49 | PYTHON_VERSIONS_ACCEPTED= 27 # py-fuse-bindings | | | |
50 | | | | |
51 | DOCDIR= ${WRKDIR}/${MAN_UNPACK} | | 49 | DOCDIR= ${WRKDIR}/${MAN_UNPACK} |
52 | | | 50 | |
53 | # Note that tests 1) will fail on a fs mounted noatime and 2) need a | | 51 | # Note that tests 1) will fail on a fs mounted noatime and 2) need a |
54 | # lot of space, perhaps 1 GB. | | 52 | # lot of space, perhaps 1 GB. |
55 | TEST_TARGET= test | | 53 | TEST_TARGET= test |
56 | | | 54 | |
57 | MAKE_FLAGS+= PREFIX=${PREFIX} | | 55 | MAKE_FLAGS+= PREFIX=${PREFIX} |
58 | MAKE_FLAGS+= PYTHON=${PYTHONBIN} | | 56 | MAKE_FLAGS+= PYTHON=${PYTHONBIN} |
59 | MAKE_FLAGS+= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR} | | 57 | MAKE_FLAGS+= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR} |
60 | | | 58 | |
61 | # Even if converters/pandoc is installed, pretend as if it weren't. | | 59 | # Even if converters/pandoc is installed, pretend as if it weren't. |
62 | MAKE_FLAGS+= PANDOC= | | 60 | MAKE_FLAGS+= PANDOC= |
63 | | | 61 | |