aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/kcpuload
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2004-05-23 23:37:25 +0800
committerlofi <lofi@FreeBSD.org>2004-05-23 23:37:25 +0800
commiteff97b0917d32263285092db1400974796d22997 (patch)
tree4fb594acbb2910eb1bd31c44ba87a18681dfe485 /sysutils/kcpuload
parentfdef8e529923dc886f63f359526500d19fe565fd (diff)
downloadfreebsd-ports-gnome-eff97b0917d32263285092db1400974796d22997.tar.gz
freebsd-ports-gnome-eff97b0917d32263285092db1400974796d22997.tar.zst
freebsd-ports-gnome-eff97b0917d32263285092db1400974796d22997.zip
Remove inclusion of "${PORTSDIR}/x11/kde3/Makefile.kde", fix PTHREAD_LIBS
safeness, reset MAINTAINER to ports. Approved by: kuriyama (former maintainer)
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 \