aboutsummaryrefslogtreecommitdiff
path: root/sysutils/kcpuload
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/kcpuload')
-rw-r--r--sysutils/kcpuload/Makefile9
-rw-r--r--sysutils/kcpuload/files/patch-kcpuload_Makefile.in11
2 files changed, 15 insertions, 5 deletions
diff --git a/sysutils/kcpuload/Makefile b/sysutils/kcpuload/Makefile
index 872c9b1eadb8..5ab21b6110af 100644
--- a/sysutils/kcpuload/Makefile
+++ b/sysutils/kcpuload/Makefile
@@ -11,7 +11,7 @@ PORTREVISION= 4
CATEGORIES= sysutils kde
MASTER_SITES= http://www.brueffer.de/distfiles/
-MAINTAINER= kuriyama@FreeBSD.org
+MAINTAINER= ports@freebsd.org
COMMENT= CPU meter for Kicker
USE_KDELIBS_VER=3
@@ -19,8 +19,7 @@ GNU_CONFIGURE= yes
USE_REINPLACE= yes
post-patch:
- @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -e 's|-O2||g' -e 's|-lpthread|${PTHREAD_LIBS}|g' \
+ ${WRKSRC}/${CONFIGURE_SCRIPT}
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/x11/kde3/Makefile.kde"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/kcpuload/files/patch-kcpuload_Makefile.in b/sysutils/kcpuload/files/patch-kcpuload_Makefile.in
new file mode 100644
index 000000000000..5b6dcda5ff9f
--- /dev/null
+++ b/sysutils/kcpuload/files/patch-kcpuload_Makefile.in
@@ -0,0 +1,11 @@
+--- kcpuload/Makefile.in.orig Sun May 23 17:03:46 2004
++++ kcpuload/Makefile.in Sun May 23 17:10:01 2004
+@@ -265,7 +265,7 @@
+
+ kcpuload_LDFLAGS = $(KDE_RPATH) $(all_libraries)
+
+-kcpuload_LDADD = $(LIB_KDEUI)
++kcpuload_LDADD = $(LIB_KDEUI) $(LIBPTHREAD)
+
+ kcpuload_SOURCES = \
+ icontoggleaction.cpp \