Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 2014 12:14:43 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370313 - head/sysutils/automount
Message-ID:  <201410071214.s97CEhlt051065@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Oct  7 12:14:43 2014
New Revision: 370313
URL: https://svnweb.freebsd.org/changeset/ports/370313
QAT: https://qat.redports.org/buildarchive/r370313/

Log:
  - Disable EXFAT by default to allow package building (not possible otherwise due to sysutils/fusefs-exfat licensing restrictions)
  - Use options helpers
  
  PR:		189486
  Submitted by:	amdmi3
  Approved by:	vermaden@interia.pl

Modified:
  head/sysutils/automount/Makefile

Modified: head/sysutils/automount/Makefile
==============================================================================
--- head/sysutils/automount/Makefile	Tue Oct  7 12:10:39 2014	(r370312)
+++ head/sysutils/automount/Makefile	Tue Oct  7 12:14:43 2014	(r370313)
@@ -17,24 +17,13 @@ PLIST_FILES=	sbin/automount etc/devd/aut
 NO_BUILD=	yes
 
 OPTIONS_DEFINE=		NTFS3G EXT4 EXFAT
-OPTIONS_DEFAULT=	NTFS3G EXT4 EXFAT
+OPTIONS_DEFAULT=	NTFS3G EXT4
 NTFS3G_DESC=		Enable NTFS write support with ntfs-3g over FUSE
+NTFS3G_RUN_DEPENDS=	fusefs-ntfs>=0:${PORTSDIR}/sysutils/fusefs-ntfs
 EXT4_DESC=		Support EXT4 filesystem
+EXT4_RUN_DEPENDS=	fusefs-ext4fuse>=0:${PORTSDIR}/sysutils/fusefs-ext4fuse
 EXFAT_DESC=		Support Microsoft exFAT filesystem
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNTFS3G}
-RUN_DEPENDS+=	fusefs-ntfs>=0:${PORTSDIR}/sysutils/fusefs-ntfs
-.endif
-
-.if ${PORT_OPTIONS:MEXT4}
-RUN_DEPENDS+=	fusefs-ext4fuse>=0:${PORTSDIR}/sysutils/fusefs-ext4fuse
-.endif
-
-.if ${PORT_OPTIONS:MEXFAT}
-RUN_DEPENDS+=	fusefs-exfat>=0:${PORTSDIR}/sysutils/fusefs-exfat
-.endif
+EXFAT_RUN_DEPENDS=	fusefs-exfat>=0:${PORTSDIR}/sysutils/fusefs-exfat
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/automount             ${STAGEDIR}${PREFIX}/sbin



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