[Midnightbsd-cvs] mports [23495] trunk/devel/libpeas/Makefile: fix conditional logic

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri May 11 08:32:14 EDT 2018


Revision: 23495
          http://svnweb.midnightbsd.org/mports/?rev=23495
Author:   laffer1
Date:     2018-05-11 08:32:13 -0400 (Fri, 11 May 2018)
Log Message:
-----------
fix conditional logic

Modified Paths:
--------------
    trunk/devel/libpeas/Makefile

Modified: trunk/devel/libpeas/Makefile
===================================================================
--- trunk/devel/libpeas/Makefile	2018-05-11 12:27:43 UTC (rev 23494)
+++ trunk/devel/libpeas/Makefile	2018-05-11 12:32:13 UTC (rev 23495)
@@ -41,7 +41,9 @@
 CONFIGURE_ARGS+=	--disable-python3
 BUILD_WRKSRC=	${WRKSRC}/loaders/python
 INSTALL_WRKSRC=	${WRKSRC}/loaders/python
-.elsif ${LIBPEAS_SLAVE} == python3
+.endif
+
+.if ${LIBPEAS_SLAVE} == python3
 USES+=		python:3
 USE_GNOME+=	py3gobject3
 CONFIGURE_ARGS+=        --disable-python2 \
@@ -48,7 +50,9 @@
                         ac_cv_path_PYTHON3_CONFIG=${LOCALBASE}/bin/python${PYTHON_VER}-config
 BUILD_WRKSRC=   ${WRKSRC}/loaders/python3
 INSTALL_WRKSRC= ${WRKSRC}/loaders/python3
-.else
+.endif
+
+.if ${LIBPEAS_SLAVE} != "python2" && ${LIBPEAS_SLAVE} != "python3"
 CONFIGURE_ARGS+=	--disable-python2 --disable-python3
 .endif
 



More information about the Midnightbsd-cvs mailing list