svn commit: r370313 - head/sysutils/automount

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Oct 7 12:14:43 UTC 2014


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 at 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


More information about the svn-ports-all mailing list