pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/bup



Module Name:    pkgsrc
Committed By:   gdt
Date:           Tue Oct 26 00:19:28 UTC 2021

Modified Files:
        pkgsrc/sysutils/bup: Makefile

Log Message:
bup: Wrap bup's build system slightly better

Note that bup fails to build on macOS 10.13 with cwrappers (not really
understood).


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 pkgsrc/sysutils/bup/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/bup/Makefile
diff -u pkgsrc/sysutils/bup/Makefile:1.55 pkgsrc/sysutils/bup/Makefile:1.56
--- pkgsrc/sysutils/bup/Makefile:1.55   Mon May 24 19:54:09 2021
+++ pkgsrc/sysutils/bup/Makefile        Tue Oct 26 00:19:27 2021
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.55 2021/05/24 19:54:09 wiz Exp $
+# $NetBSD: Makefile,v 1.56 2021/10/26 00:19:27 gdt Exp $
 
 DISTNAME=      bup-0.32
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=bup/}
 # bup has two problems that make packaging difficult.  One is that
@@ -31,6 +31,13 @@ HOMEPAGE=    https://github.com/bup/bup
 COMMENT=       Highly efficient file backup system based on the git packfile format
 LICENSE=       gnu-gpl-v2
 
+USE_LANGUAGES= c
+HAS_CONFIGURE= yes
+
+# On macOS 10.13, building bup fails with defaults but builds with
+# USE_CWRAPPERS=no.   The error is
+#   Looking for cpp (/path/to/pkgsrc/sysutils/bup/work/.cwrapper/bin/cpp) (can't run cpp as a pipeline)
+
 DEPENDS+=      par2-[0-9]*:../../archivers/par2
 DEPENDS+=      ${PYPKGPREFIX}-tornado-[0-9]*:../../www/py-tornado
 DEPENDS+=      git-base-[0-9]*:../../devel/git-base
@@ -55,7 +62,8 @@ MAKE_FLAGS+=  MANDIR=${DESTDIR}${PREFIX}/
 MAKE_FLAGS+=   PANDOC=
 
 USE_TOOLS+=            bash gmake perl:run
-REPLACE_PERL+=         wvtest
+
+CONFIGURE_ENV+=                MAKE=${TOOLS_PATH.gmake}
 
 REPLACE_BASH+=         cmd/import-rdiff-backup-cmd.sh
 REPLACE_BASH+=         t/compare-trees



Home | Main Index | Thread Index | Old Index