[Midnightbsd-cvs] mports [24332] trunk/x11/mlogind/Makefile: revert as this is breaking build

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Sep 15 19:58:24 EDT 2018


Revision: 24332
          http://svnweb.midnightbsd.org/mports/?rev=24332
Author:   laffer1
Date:     2018-09-15 19:58:23 -0400 (Sat, 15 Sep 2018)
Log Message:
-----------
revert as this is breaking build

Modified Paths:
--------------
    trunk/x11/mlogind/Makefile

Modified: trunk/x11/mlogind/Makefile
===================================================================
--- trunk/x11/mlogind/Makefile	2018-09-15 14:30:02 UTC (rev 24331)
+++ trunk/x11/mlogind/Makefile	2018-09-15 23:58:23 UTC (rev 24332)
@@ -30,8 +30,7 @@
 USE_LDCONFIG=	yes
 SUB_FILES=	pkg-message
 
-CMAKE_ARGS=	-DUSE_CONSOLEKIT=yes \
-	-DBUILD_SLIMLOCK=no \
+CMAKE_ARGS= -DBUILD_SLIMLOCK=no \
 	-DBUILD_SHARED_LIBS=yes
 
 OPTIONS_DEFINE=		UTF8 CONSOLEKIT
@@ -41,8 +40,6 @@
 UTF8_DESC=	Support UTF-8 characters
 CONSOLEKIT_DESC=Enable support for consolekit
 
-PLIST_SUB+=	VERSION="${PORTVERSION}"
-
 .include <bsd.mport.options.mk>
 
 CMAKE_ARGS+=	-DUSE_PAM=yes
@@ -52,9 +49,12 @@
 EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-utf8
 .endif
 
-CONSOLEKIT_CMAKE_ON=    -DUSE_CONSOLEKIT=yes
-CONSOLEKIT_LIB_DEPENDS= libck-connector.so:sysutils/consolekit2
-CONSOLEKIT_CMAKE_OFF=   -DUSE_CONSOLEKIT=no
+.if ${PORT_OPTIONS:MCONSOLEKIT}
+CMAKE_ARGS+=	-DUSE_CONSOLEKIT=yes
+LIB_DEPENDS+=	libck-connector.so:sysutils/consolekit2
+.else
+CMAKE_ARGS+=	-DUSE_CONSOLEKIT=no
+.endif
 
 post-patch:
 	@${CP} ${WRKSRC}/mlogind.conf ${WRKSRC}/mlogind.conf.sample



More information about the Midnightbsd-cvs mailing list