Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Dec 2012 19:40:45 +0000 (UTC)
From:      Ruslan Mahmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308557 - head/sysutils/fusefs-ntfs
Message-ID:  <201212091940.qB9Jej0g013822@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Sun Dec  9 19:40:44 2012
New Revision: 308557
URL: http://svnweb.freebsd.org/changeset/ports/308557

Log:
  - only depend on sysutils/fusefs-kmod if build on FreeBSD < 1000021 to fix build
    on recent -current

Modified:
  head/sysutils/fusefs-ntfs/Makefile

Modified: head/sysutils/fusefs-ntfs/Makefile
==============================================================================
--- head/sysutils/fusefs-ntfs/Makefile	Sun Dec  9 19:37:48 2012	(r308556)
+++ head/sysutils/fusefs-ntfs/Makefile	Sun Dec  9 19:40:44 2012	(r308557)
@@ -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.
 		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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212091940.qB9Jej0g013822>