svn commit: r308557 - head/sysutils/fusefs-ntfs

Ruslan Mahmatkhanov rm at FreeBSD.org
Sun Dec 9 19:40:45 UTC 2012


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>


More information about the svn-ports-all mailing list