From david@pinko.net  Wed May 19 17:32:09 2004
Return-Path: <david@pinko.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 14F1116A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 May 2004 17:32:09 -0700 (PDT)
Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C306743D3F
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 May 2004 17:32:06 -0700 (PDT)
	(envelope-from david@pinko.net)
Received: from hsa208.pool017.at101.earthlink.net ([216.249.88.208] helo=eden)
	by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1)
	id 1BQbT1-0003zj-00
	for FreeBSD-gnats-submit@freebsd.org; Wed, 19 May 2004 17:31:23 -0700
Message-Id: <1085013095.0@eden>
Date: Wed, 19 May 2004 17:31:35 -0700
From: "David Gardner <david@pinko.net>" <david@pinko.net>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Subject: update port: sysutils/gkrelltop minor update from 2.2 to 2.2.1
X-Send-Pr-Version: gtk-send-pr 0.3.3 
X-GNATS-Notify:

>Number:         66918
>Category:       ports
>Synopsis:       update port: sysutils/gkrelltop minor update from 2.2 to 2.2.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 19 17:40:16 PDT 2004
>Closed-Date:    Fri May 21 06:06:05 PDT 2004
>Last-Modified:  Fri May 21 06:06:05 PDT 2004
>Originator:     David Gardner <david@pinko.net>
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:


System: FreeBSD 5.2-CURRENT #0: Fri May 14 19:23:31 PDT 2004
    root@eden:/usr/src/sys/i386/compile/Worker



>Description:


gkrelltop update from v2.2 to 2.2.1
For some reason the author included his x86 Linux binaries in the tgz file so there is a rm *.o in the Makefile, otherwise make will assume all packages are already built. I couldn't think of a more elegant way to handle this, I also emailed the author about this.


>How-To-Repeat:





>Fix:


--- gkrelltop.diff begins here ---
diff -ruN gkrelltop.bak/Makefile gkrelltop/Makefile
--- gkrelltop.bak/Makefile	Sat Apr 17 16:17:33 2004
+++ gkrelltop/Makefile	Wed May 19 17:14:03 2004
@@ -2,11 +2,11 @@
 # Date created:				12 April 2004
 # Whom:					David Gardner
 #
-# $FreeBSD: ports/sysutils/gkrelltop/Makefile,v 1.1 2004/04/17 23:17:33 pav Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	gkrelltop
-PORTVERSION=	2.2
+PORTVERSION=	2.2.1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://psychology.rutgers.edu/~zaimi/
 DISTNAME=	${PORTNAME}.${PORTVERSION}
@@ -17,6 +17,10 @@
 
 RUN_DEPENDS=	gkrellm:${PORTSDIR}/sysutils/gkrellm2
 BUILD_DEPENDS=	${X11BASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
+
+post-patch:
+	${RM} ${WRKSRC}/*.o
+	${RM} ${WRKSRC}/*.so
 
 MAKE_ARGS=	INSTALLDIR2=${PREFIX}/libexec/gkrellm2/plugins
 INSTALL_TARGET=	install2
diff -ruN gkrelltop.bak/distinfo gkrelltop/distinfo
--- gkrelltop.bak/distinfo	Sat Apr 17 16:17:33 2004
+++ gkrelltop/distinfo	Wed May 19 13:40:36 2004
@@ -1,2 +1,2 @@
-MD5 (gkrelltop.2.2.tgz) = fbddff14365fd81afa9e97dd919fcf6c
-SIZE (gkrelltop.2.2.tgz) = 33435
+MD5 (gkrelltop.2.2.1.tgz) = 4756f310d86a36978cc4ee14ce4203a3
+SIZE (gkrelltop.2.2.1.tgz) = 45344
--- gkrelltop.diff ends here ---



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: vs 
State-Changed-When: Fri May 21 06:04:01 PDT 2004 
State-Changed-Why:  
Committed with modifications, thanks! 
I added a chmod u+rwx ${WRKSRC} line so that non-root-builds 
will be able to remove  the files: The directory was a-w. 
Also, I changed this to the post-extract-target, because that's 
what it basically is. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=66918 
>Unformatted:
