aboutsummaryrefslogtreecommitdiff
path: root/sysutils/fusefs-kmod
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2013-11-09 19:13:27 +0000
committerRene Ladan <rene@FreeBSD.org>2013-11-09 19:13:27 +0000
commitbfc52e710421bd92466b329f6fbb9be930eb4755 (patch)
tree7436338612f22a81def9ee6c2d2e3826c1504ea4 /sysutils/fusefs-kmod
parent16a624cb31062d141fd07c5dc3f7794ed7fe74cd (diff)
Notes
Diffstat (limited to 'sysutils/fusefs-kmod')
-rw-r--r--sysutils/fusefs-kmod/Makefile17
-rw-r--r--sysutils/fusefs-kmod/pkg-plist4
2 files changed, 5 insertions, 16 deletions
diff --git a/sysutils/fusefs-kmod/Makefile b/sysutils/fusefs-kmod/Makefile
index a6d51d4ddf1b..c06664310fd5 100644
--- a/sysutils/fusefs-kmod/Makefile
+++ b/sysutils/fusefs-kmod/Makefile
@@ -4,7 +4,7 @@
PORTNAME= fusefs
DISTVERSION= 0.3.9-pre1.20080208
PORTREVISION= 11
-CATEGORIES= sysutils kld
+CATEGORIES= sysutils
MASTER_SITES= http://mercurial.creo.hu/repos/fuse4bsd-hg/index.cgi/archive/ \
http://mirrors.rit.edu/zi/fuse4bsd/ \
LOCAL/bdrewery/${PORTNAME}/
@@ -17,13 +17,9 @@ COMMENT= Kernel module for fuse
BUILD_DEPENDS= fusefs-libs>2.4.1:${PORTSDIR}/sysutils/fusefs-libs
-SSP_UNSAFE= kernel module does not support ssp
-
USE_RC_SUBR= fusefs
-KMODDIR?= ${PREFIX}/modules
-PLIST_SUB= KMODDIR=${KMODDIR}
+KMODDIR= ${PREFIX}/modules
MAKE_ENV= BINDIR="${PREFIX}/sbin" MANDIR="${MANPREFIX}/man/man" \
- KMODDIR="${KMODDIR}" SYSDIR="${SRC_BASE}/sys" \
MOUNT="${SRC_BASE}/sbin/mount"
WRKSRC= ${WRKDIR}/fuse4bsd-${HG_SHORTREV}
DISABLE_SIZE= yes
@@ -32,13 +28,14 @@ OPTIONS_DEFINE= AUTOSETUP DOCS
AUTOSETUP_DESC= Automatic global config file setup
NO_STAGE= yes
+
+USES= kmod
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= deplate:${PORTSDIR}/textproc/ruby-deplate
.endif
-SRC_BASE?= /usr/src
SETUP= setup.sh
HG_SHORTREV= 498acaef33b0
@@ -71,9 +68,6 @@ EXTRA_PATCHES+= ${FILESDIR}/extrapatch-fuse_module__fuse_vnops.c
.if exists(${SRC_BASE}/sys/fs/fuse)
IGNORE= Integrated into base
.endif
-.if !exists(${SRC_BASE}/sys/Makefile)
-IGNORE= requires the Kernel source to be installed. Set SRC_BASE if it is not in /usr/src
-.endif
.if !exists(${SRC_BASE}/sbin/mount)
IGNORE= requires the userland sources to be installed. Set SRC_BASE if it is not in /usr/src
.endif
@@ -102,9 +96,6 @@ post-build:
@cd ${WRKSRC}/doc && make plaintext html_chunked
.endif
-pre-su-install:
- @${MKDIR} ${KMODDIR}
-
post-install:
@${LN} -fs ${PREFIX}/sbin/mount_fusefs /usr/sbin
.if ${PORT_OPTIONS:MAUTOSETUP} && !defined(PACKAGE_BUILDING)
diff --git a/sysutils/fusefs-kmod/pkg-plist b/sysutils/fusefs-kmod/pkg-plist
index 7a6d548507ba..6ccde8bf6d28 100644
--- a/sysutils/fusefs-kmod/pkg-plist
+++ b/sysutils/fusefs-kmod/pkg-plist
@@ -20,7 +20,5 @@ sbin/mount_fusefs
%%PORTDOCS%%@dirrm %%DOCSDIR%%/kmod/html
%%PORTDOCS%%@dirrm %%DOCSDIR%%/kmod
@dirrmtry %%DOCSDIR%%
-@cwd %%KMODDIR%%
+@cwd /%%KMODDIR%%
fuse.ko
-@unexec kldxref %%KMODDIR%%
-@unexec rmdir %%KMODDIR%% 2>/dev/null || true