diff options
-rw-r--r-- | sysutils/bup/Makefile | 6 | ||||
-rw-r--r-- | sysutils/bup/options.mk | 17 |
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 |