aboutsummaryrefslogtreecommitdiff
path: root/sysutils/kcpuload
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2004-05-23 15:37:25 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2004-05-23 15:37:25 +0000
commit1b11f2a57ba02ea616273a2d1c06f58288c1eb60 (patch)
tree56e9599480605af83b46fd7575b64371130a9921 /sysutils/kcpuload
parentd4b3b6b5ad94032734544202857e6b5bbf2f3d0c (diff)
downloadports-1b11f2a57ba02ea616273a2d1c06f58288c1eb60.tar.gz
ports-1b11f2a57ba02ea616273a2d1c06f58288c1eb60.zip
Remove inclusion of "${PORTSDIR}/x11/kde3/Makefile.kde", fix PTHREAD_LIBS
safeness, reset MAINTAINER to ports. Approved by: kuriyama (former maintainer)
Notes
Notes: svn path=/head/; revision=109790
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 \