Do not add devel/cmake to MODULES when CONFIGURE_STYLE doesn't contain the

"cmake" word. Forgot to commit that bit at the hackathon, and this broke
multimedia/mlt.

Noticed by espie@
This commit is contained in:
zhuk 2014-07-15 18:06:00 +00:00
parent f6f316da79
commit 10c453c65f

View File

@ -1,4 +1,4 @@
# $OpenBSD: kde4.port.mk,v 1.20 2014/07/09 20:03:22 zhuk Exp $
# $OpenBSD: kde4.port.mk,v 1.21 2014/07/15 18:06:00 zhuk Exp $
# The version of KDE SC in x11/kde4
_MODKDE4_STABLE = 4.13.2
@ -51,14 +51,16 @@ ONLY_FOR_ARCHS ?= ${GCC4_ARCHS}
EXTRACT_SUFX ?= .tar.xz
.if "${NO_BUILD:L}" != "yes"
MODULES += devel/cmake
SEPARATE_BUILD ?= flavored
# CONFIGURE_STYLE needs separate handling because it is set to empty
# string in bsd.port.mk initially.
. if "${CONFIGURE_STYLE}" == ""
CONFIGURE_STYLE = cmake
. endif
. if ${CONFIGURE_STYLE:Mcmake}
MODULES += devel/cmake
SEPARATE_BUILD ?= flavored
. endif
.endif
# MODKDE4_RESOURCES: Yes/No