pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/grub2 grub2: add support for grub-mount
details: https://anonhg.NetBSD.org/pkgsrc/rev/c80638dcc165
branches: trunk
changeset: 385229:c80638dcc165
user: triaxx <triaxx%pkgsrc.org@localhost>
date: Sun Sep 16 13:18:54 2018 +0000
description:
grub2: add support for grub-mount
Also add some cosmetics.
diffstat:
sysutils/grub2/PLIST | 4 +++-
sysutils/grub2/options.mk | 24 +++++++++++++++++++++---
2 files changed, 24 insertions(+), 4 deletions(-)
diffs (86 lines):
diff -r a4d495a8cc89 -r c80638dcc165 sysutils/grub2/PLIST
--- a/sysutils/grub2/PLIST Sun Sep 16 10:38:48 2018 +0000
+++ b/sysutils/grub2/PLIST Sun Sep 16 13:18:54 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2018/05/23 07:56:53 triaxx Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/09/16 13:18:54 triaxx Exp $
bin/grub-editenv
bin/grub-file
bin/grub-fstest
@@ -13,6 +13,7 @@
bin/grub-mkrelpath
bin/grub-mkrescue
bin/grub-mkstandalone
+${PLIST.fuse}bin/grub-mount
bin/grub-render-label
bin/grub-script-check
bin/grub-syslinux2cfg
@@ -587,6 +588,7 @@
man/man1/grub-mkrelpath.1
man/man1/grub-mkrescue.1
man/man1/grub-mkstandalone.1
+${PLIST.fuse}man/man1/grub-mount.1
man/man1/grub-render-label.1
man/man1/grub-script-check.1
man/man1/grub-syslinux2cfg.1
diff -r a4d495a8cc89 -r c80638dcc165 sysutils/grub2/options.mk
--- a/sysutils/grub2/options.mk Sun Sep 16 10:38:48 2018 +0000
+++ b/sysutils/grub2/options.mk Sun Sep 16 13:18:54 2018 +0000
@@ -1,19 +1,20 @@
-# $NetBSD: options.mk,v 1.2 2014/09/05 12:14:24 gsutre Exp $
+# $NetBSD: options.mk,v 1.3 2018/09/16 13:18:54 triaxx Exp $
#
#
# Description of options (taken from configure --help):
# debug include memory manager debugging
# freetype build and install the `grub-mkfont' utility
+# fuse build and install the `grub-mount' utility
#
PKG_OPTIONS_VAR= PKG_OPTIONS.grub2
-PKG_SUPPORTED_OPTIONS= debug freetype
+PKG_SUPPORTED_OPTIONS= debug freetype fuse
PKG_SUGGESTED_OPTIONS= freetype
.include "../../mk/bsd.options.mk"
-PLIST_VARS+= freetype
+PLIST_VARS+= freetype fuse
UNIFONT= unifont-5.1.20080820.pcf
SITES.${UNIFONT}.gz= http://unifoundry.com/
@@ -21,12 +22,18 @@
post-extract: do-move-unifont
.PHONY: do-move-unifont
+###
+### debug support
+###
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-mm-debug
.else
CONFIGURE_ARGS+= --disable-mm-debug
.endif
+###
+### FreeType support
+###
.if !empty(PKG_OPTIONS:Mfreetype)
CONFIGURE_ARGS+= --enable-grub-mkfont
PLIST.freetype= yes
@@ -39,3 +46,14 @@
CONFIGURE_ARGS+= --disable-grub-mkfont
do-move-unifont:
.endif
+
+###
+### FUSE support
+###
+.if !empty(PKG_OPTIONS:Mfuse)
+CONFIGURE_ARGS+= --enable-grub-mount
+PLIST.fuse= yes
+.include "../../filesystems/fuse/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-grub-mount
+.endif
Home |
Main Index |
Thread Index |
Old Index