pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/bup Move fuse support into a default-off option.
details: https://anonhg.NetBSD.org/pkgsrc/rev/0fbee46c5401
branches: trunk
changeset: 632195:0fbee46c5401
user: gdt <gdt%pkgsrc.org@localhost>
date: Wed Mar 19 12:54:02 2014 +0000
description:
Move fuse support into a default-off option.
Fuse support being on breaks the build on mac, where our wrappers for
OSXFUSE seem not quite right, and fuse support doesn't work on NetBSD.
ok wiz@ (as MAINTAINER).
diffstat:
sysutils/bup/Makefile | 6 ++++--
sysutils/bup/options.mk | 17 +++++++++++++++++
2 files changed, 21 insertions(+), 2 deletions(-)
diffs (42 lines):
diff -r b46c36f537de -r 0fbee46c5401 sysutils/bup/Makefile
--- a/sysutils/bup/Makefile Wed Mar 19 10:16:33 2014 +0000
+++ b/sysutils/bup/Makefile Wed Mar 19 12:54:02 2014 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2014/01/25 10:30:21 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2014/03/19 12:54:02 gdt Exp $
DISTNAME= bup-0.25
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= # manually packaged since master site is git repository
# and only available via https
@@ -116,6 +117,7 @@
${INSTALL_DATA} ${WRKSRC}/DESIGN ${DESTDIR}${PREFIX}/share/doc/bup
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/bup
-.include "../../filesystems/py-fuse-bindings/buildlink3.mk"
+.include "options.mk"
+
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
diff -r b46c36f537de -r 0fbee46c5401 sysutils/bup/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bup/options.mk Wed Mar 19 12:54:02 2014 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.1 2014/03/19 12:54:02 gdt Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.bup
+PKG_SUPPORTED_OPTIONS= fuse
+# fuse is disabled by default because it doesn't build on Mac, ad
+# because the fuse implementation in bup doesn't work on NetBSD.
+# After it's fixed upstream, an OS-specific default is probably
+# appropriate.
+PKG_SUGGESTED_OPTIONS=
+
+.include "../../mk/bsd.prefs.mk"
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mfuse)
+.include "../../filesystems/py-fuse-bindings/buildlink3.mk"
+.endif
Home |
Main Index |
Thread Index |
Old Index