aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-06-14 22:18:45 +0800
committerbapt <bapt@FreeBSD.org>2013-06-14 22:18:45 +0800
commitf5578986531a1ee2728d3f1a3c7888bfc59d297c (patch)
tree1ef48c0e94d95a7770577426a65cc460480a1e80 /Mk
parent5b270bb080e31769541f299142d137091a3a7fb8 (diff)
downloadfreebsd-ports-gnome-f5578986531a1ee2728d3f1a3c7888bfc59d297c.tar.gz
freebsd-ports-gnome-f5578986531a1ee2728d3f1a3c7888bfc59d297c.tar.zst
freebsd-ports-gnome-f5578986531a1ee2728d3f1a3c7888bfc59d297c.zip
Add a forgotten helper:
${OPT}_CMAKE_ON and ${OPT}_CMAKE_OFF
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.options.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mk/bsd.options.mk b/Mk/bsd.options.mk
index 8f6d3666a8d1..562e0fe9392e 100644
--- a/Mk/bsd.options.mk
+++ b/Mk/bsd.options.mk
@@ -309,6 +309,9 @@ CONFIGURE_ARGS+= --enable-${${opt}_CONFIGURE_ENABLE}
. if defined(${opt}_CONFIGURE_ON)
CONFIGURE_ARGS+= ${${opt}_CONFIGURE_ON}
. endif
+. if defined(${opt}_CMAKE_ON)
+CMAKE_ARGS+= ${${opt}_CMAKE_ON}
+. endif
. for flags in CFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ENV USES DISTFILES
. if defined(${opt}_${flags})
${flags}+= ${${opt}_${flags}}
@@ -326,6 +329,9 @@ CONFIGURE_ARGS+= --disable-${${opt}_CONFIGURE_ENABLE}
. if defined(${opt}_CONFIGURE_OFF)
CONFIGURE_ARGS+= ${${opt}_CONFIGURE_OFF}
. endif
+. if defined(${opt}_CMAKE_OFF)
+CMAKE_ARGS+= ${${opt}_CMAKE_OFF}
+. endif
. endif
.endfor