summaryrefslogtreecommitdiff
path: root/x11/kde3/Makefile.kde
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kde3/Makefile.kde')
-rw-r--r--x11/kde3/Makefile.kde5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11/kde3/Makefile.kde b/x11/kde3/Makefile.kde
index 961f8bb4ccce..f7bc1fbbed54 100644
--- a/x11/kde3/Makefile.kde
+++ b/x11/kde3/Makefile.kde
@@ -14,6 +14,7 @@ COPY= -c -p
# For ports that have I18N components only.
.if defined(KDE_I18N)
_NO_KDE_FINAL= yes
+_NO_KDE_CLOSURE= yes
_NO_KDE_NDEBUG= yes
DISTNAME?= ${PORTNAME}-${PKGNAMEPREFIX:S/-$//}-${PORTVERSION}
# Since KDE 3.1.3, the kde-i18n tarballs have the ${KDE_VERSION}
@@ -38,6 +39,10 @@ post-extract:
CONFIGURE_ARGS+=--enable-final
.endif
+.if !defined(_NO_KDE_CLOSURE) && defined(WANT_KDE_CLOSURE)
+CONFIGURE_ARGS+=--enable-closure
+.endif
+
.if !defined(_NO_KDE_NDEBUG)
.if defined(PARALLEL_PACKAGE_BUILD) || !defined(WANT_KDE_DEBUG)
CONFIGURE_ARGS+=--disable-debug