diff options
author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2012-12-09 19:40:44 +0000 |
---|---|---|
committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2012-12-09 19:40:44 +0000 |
commit | 5ba490fe9c9081bf2d2a92d3c10ca5249d0bd7c2 (patch) | |
tree | 27593dc9384eddaf0173579e334d4170b14bceca /sysutils | |
parent | - Add Zylin CPU gcc support (diff) |
- only depend on sysutils/fusefs-kmod if build on FreeBSD < 1000021 to fix build
on recent -current
Notes
Notes:
svn path=/head/; revision=308557
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/fusefs-ntfs/Makefile | 9 |
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> |