summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorgdt <gdt>2014-03-19 12:54:02 +0000
committergdt <gdt>2014-03-19 12:54:02 +0000
commit1ab00059f38a4c98a66b9c4a9d2645f558ef94a8 (patch)
tree202d6e68d62597cabb531a9f68036bbd7863d6da /sysutils
parent43036ea4a8acbc657e3b9b4a1aa8f3483d51e9e5 (diff)
downloadpkgsrc-1ab00059f38a4c98a66b9c4a9d2645f558ef94a8.tar.gz
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 (limited to 'sysutils')
-rw-r--r--sysutils/bup/Makefile6
-rw-r--r--sysutils/bup/options.mk17
2 files changed, 21 insertions, 2 deletions
diff --git a/sysutils/bup/Makefile b/sysutils/bup/Makefile
index 6bafee6a1d4..da8bcb4a3bb 100644
--- a/sysutils/bup/Makefile
+++ b/sysutils/bup/Makefile
@@ -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 @@ post-install:
${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 --git a/sysutils/bup/options.mk b/sysutils/bup/options.mk
new file mode 100644
index 00000000000..05a40a67196
--- /dev/null
+++ b/sysutils/bup/options.mk
@@ -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