summaryrefslogtreecommitdiffstats
path: root/x11/kdebase4-workspace
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2005-03-21 13:04:04 +0000
committerlofi <lofi@FreeBSD.org>2005-03-21 13:04:04 +0000
commitaa3b72a7a1cd492e9760d40a6b65de520984e2f7 (patch)
treed916122bc0d5fb9a217fcb0f725e9f5262ad5367 /x11/kdebase4-workspace
parent12a7f6ecd37a306ccb4da249c4d12f18f82ac9e2 (diff)
downloadFreeBSD-ports-aa3b72a7a1cd492e9760d40a6b65de520984e2f7.zip
FreeBSD-ports-aa3b72a7a1cd492e9760d40a6b65de520984e2f7.tar.gz
Disable building kompmgr, instead RUN_DEPEND on it if xorg is installed.
Fixes kdebase3's pkg-plist and kwin's XComposite support.
Diffstat (limited to 'x11/kdebase4-workspace')
-rw-r--r--x11/kdebase4-workspace/Makefile5
-rw-r--r--x11/kdebase4-workspace/files/patch-kwin_Makefile.in11
2 files changed, 16 insertions, 0 deletions
diff --git a/x11/kdebase4-workspace/Makefile b/x11/kdebase4-workspace/Makefile
index 4679a2d..5b2a36e 100644
--- a/x11/kdebase4-workspace/Makefile
+++ b/x11/kdebase4-workspace/Makefile
@@ -8,6 +8,7 @@
PORTNAME= kdebase
PORTVERSION= ${KDE_VERSION}
+PORTREVISION= 1
CATEGORIES= x11 kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
@@ -50,6 +51,10 @@ OPTIONS= ARTSWRAPPER "Suid wrapper for aRts, req'd for realtime prio" on
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
+.if ${X_WINDOW_SYSTEM:L} == xorg
+RUN_DEPENDS= kompmgr:${PORTSDIR}/x11-wm/kompmgr
+.endif
+
.if !defined(WITHOUT_ARTSWRAPPER)
RUN_DEPENDS+= artswrapper:${PORTSDIR}/audio/artswrapper
.endif
diff --git a/x11/kdebase4-workspace/files/patch-kwin_Makefile.in b/x11/kdebase4-workspace/files/patch-kwin_Makefile.in
new file mode 100644
index 0000000..8669226
--- /dev/null
+++ b/x11/kdebase4-workspace/files/patch-kwin_Makefile.in
@@ -0,0 +1,11 @@
+--- kwin/Makefile.in.orig Mon Mar 21 13:23:39 2005
++++ kwin/Makefile.in Mon Mar 21 13:23:53 2005
+@@ -605,7 +605,7 @@
+ xdg_menudir = @xdg_menudir@
+ INCLUDES = -I$(srcdir)/lib $(all_includes)
+ @include_kompmgr_TRUE@KOMPMGR = kompmgr
+-SUBDIRS = lib . killer kcmkwin pics clients oldheaders data $(KOMPMGR)
++SUBDIRS = lib . killer kcmkwin pics clients oldheaders data
+ #>- lib_LTLIBRARIES =
+ #>+ 1
+ lib_LTLIBRARIES = libkdeinit_kwin.la
OpenPOWER on IntegriCloud