aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2012-12-10 03:40:44 +0800
committerrm <rm@FreeBSD.org>2012-12-10 03:40:44 +0800
commit4bb2999d732470a3e69f35331f2c384a44b48baa (patch)
tree27593dc9384eddaf0173579e334d4170b14bceca /sysutils
parenta93b71a9fc18f5400f834d4a214215e5919a21e2 (diff)
downloadfreebsd-ports-gnome-4bb2999d732470a3e69f35331f2c384a44b48baa.tar.gz
freebsd-ports-gnome-4bb2999d732470a3e69f35331f2c384a44b48baa.tar.zst
freebsd-ports-gnome-4bb2999d732470a3e69f35331f2c384a44b48baa.zip
- only depend on sysutils/fusefs-kmod if build on FreeBSD < 1000021 to fix build
on recent -current
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/fusefs-ntfs/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/sysutils/fusefs-ntfs/Makefile b/sysutils/fusefs-ntfs/Makefile
index 7e92dae46c0a..de463a8f1f0e 100644
--- a/sysutils/fusefs-ntfs/Makefile
+++ b/sysutils/fusefs-ntfs/Makefile
@@ -16,7 +16,6 @@ LICENSE= GPLv2
BUILD_DEPENDS= fusefs-libs>=2.7.2:${PORTSDIR}/sysutils/fusefs-libs
LIB_DEPENDS= fuse:${PORTSDIR}/sysutils/fusefs-libs
-RUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
CONFLICTS_BUILD= bonobo-1.*
CONFLICTS_INSTALL= ntfsprogs-*
@@ -42,7 +41,11 @@ MAN8= mkntfs.8 ntfs-3g.8 ntfs-3g.probe.8 \
ntfscluster.8 ntfscmp.8 ntfscp.8 ntfsfix.8 ntfsinfo.8 \
ntfslabel.8 ntfsls.8 ntfsprogs.8 ntfsresize.8 ntfsundelete.8
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 1000021
+RUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
+.endif
.if ${PORT_OPTIONS:MLOCK}
CFLAGS+= -DUSE_LOCK
@@ -72,4 +75,4 @@ post-install:
.endif
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>