aboutsummaryrefslogtreecommitdiff
path: root/x11/kde4
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2002-01-11 06:17:04 +0000
committerWill Andrews <will@FreeBSD.org>2002-01-11 06:17:04 +0000
commitbda8e9b3d49318473fad79469eabd56286ac2396 (patch)
tree3e1572e95d90613e6ab697273311a81aae4badcb /x11/kde4
parent5e3850ca618efeebd500ce6b65354eafb867c4db (diff)
downloadports-bda8e9b3d49318473fad79469eabd56286ac2396.tar.gz
ports-bda8e9b3d49318473fad79469eabd56286ac2396.zip
Notes
Diffstat (limited to 'x11/kde4')
-rw-r--r--x11/kde4/Makefile.kde37
1 files changed, 37 insertions, 0 deletions
diff --git a/x11/kde4/Makefile.kde b/x11/kde4/Makefile.kde
new file mode 100644
index 000000000000..58fe75a64083
--- /dev/null
+++ b/x11/kde4/Makefile.kde
@@ -0,0 +1,37 @@
+# This is a simple set of Makefile macros which allow the core kde ports to
+# bring these in automatically since it's tiring to modify all of them to
+# add more of these. These don't belong in bsd.kde.mk because they aren't
+# very likely to apply outside of KDE core modules. Nonetheless, also
+# provide variables to remove one or more of these.
+#
+# $FreeBSD$
+
+CONFIGURE_ARGS?=
+
+.if !defined(_NO_KDE_OBJPRELINK)
+.if ${MACHINE_ARCH} == "i386" && !defined(NO_KDE_OBJPRELINK)
+BUILD_DEPENDS+= objprelink:${PORTSDIR}/devel/objprelink
+CONFIGURE_ARGS+=--enable-objprelink
+.endif
+.endif
+
+.if !defined(_NO_KDE_FINAL)
+.if defined(PARALLEL_PACKAGE_BUILD) || !defined(NO_KDE_FINAL)
+CONFIGURE_ARGS+=--enable-final
+.endif
+.endif
+
+.if !defined(_NO_KDE_NDEBUG)
+.if defined(PARALLEL_PACKAGE_BUILD) || !defined(WANT_KDE_DEBUG)
+CONFIGURE_ARGS+=--disable-debug
+.else
+CONFIGURE_ARGS+=--enable-debug
+STRIP=''
+.endif
+.endif
+
+.if !defined(_NO_KDE_NON_I386_OPTS)
+.if ${MACHINE_ARCH} == "alpha"
+CFLAGS= -O0 ${KDE_CFLAGS}
+.endif
+.endif