aboutsummaryrefslogtreecommitdiff
path: root/deskutils/taskjuggler
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2006-07-11 16:59:37 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2006-07-11 16:59:37 +0000
commit82a394ce9a945267bfb8fd8cbf50cd1479f9c33c (patch)
tree082ba99a6f9cfe67aba1fb33015804fff00e2642 /deskutils/taskjuggler
parent50f164f0ae1130b33b8bb7f8ccdfcfa466ce4d86 (diff)
downloadports-82a394ce9a945267bfb8fd8cbf50cd1479f9c33c.tar.gz
ports-82a394ce9a945267bfb8fd8cbf50cd1479f9c33c.zip
Notes
Diffstat (limited to 'deskutils/taskjuggler')
-rw-r--r--deskutils/taskjuggler/Makefile8
-rw-r--r--deskutils/taskjuggler/files/patch-TaskJugglerUI_main.cpp18
2 files changed, 22 insertions, 4 deletions
diff --git a/deskutils/taskjuggler/Makefile b/deskutils/taskjuggler/Makefile
index a37f27e18198..770f254caca3 100644
--- a/deskutils/taskjuggler/Makefile
+++ b/deskutils/taskjuggler/Makefile
@@ -7,6 +7,7 @@
PORTNAME= taskjuggler
PORTVERSION= 2.2.0
+PORTREVISION= 1
CATEGORIES= deskutils
MASTER_SITES= http://www.taskjuggler.org/download/
@@ -34,9 +35,7 @@ CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.pre.mk>
-.if !defined(WITHOUT_DOCS)
-# do nada
-.else
+.if defined(WITHOUT_DOCS)
NOPORTDOCS= true
.endif
@@ -47,7 +46,8 @@ CONFIGURE_ARGS+=--disable-docs
.endif
.if !defined(WITHOUT_KDE)
-LIB_DEPENDS+= kimproxy:${PORTSDIR}/x11/kdelibs3
+LIB_DEPENDS+= kimproxy:${PORTSDIR}/x11/kdelibs3 \
+ kcal.2:${PORTSDIR}/deskutils/kdepim3
PLIST_SUB+= WITH_KDE=""
.else
CONFIGURE_ARGS+=--with-kde-support=no
diff --git a/deskutils/taskjuggler/files/patch-TaskJugglerUI_main.cpp b/deskutils/taskjuggler/files/patch-TaskJugglerUI_main.cpp
new file mode 100644
index 000000000000..435b98fe20e6
--- /dev/null
+++ b/deskutils/taskjuggler/files/patch-TaskJugglerUI_main.cpp
@@ -0,0 +1,18 @@
+--- TaskJugglerUI/main.cpp.orig Sat Jul 8 14:30:32 2006
++++ TaskJugglerUI/main.cpp Sat Jul 8 14:30:39 2006
+@@ -22,6 +22,7 @@
+ #include <kaboutdata.h>
+ #include <kcmdlineargs.h>
+ #include <klocale.h>
++#include <pthread.h>
+
+ static const char description[] =
+ I18N_NOOP("A Project Management Software for Linux");
+@@ -36,6 +37,7 @@
+
+ int main(int argc, char **argv)
+ {
++ pthread_yield();
+ KAboutData about("taskjuggler", I18N_NOOP("TaskJuggler"), version,
+ description,
+ KAboutData::License_GPL,