Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2011 13:32:06 -0700
From:      Jason Helfman <jhelfman@experts-exchange.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ohauer@FreeBSD.org
Subject:   ports/159092: [patch][maintainer-update] www/tomcat55: cleanup leftovers (pointyhat)
Message-ID:  <1311280326.467448.48214.nullmailer@experts-exchange.com>
Resent-Message-ID: <201107212040.p6LKeCcO083830@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         159092
>Category:       ports
>Synopsis:       [patch][maintainer-update] www/tomcat55: cleanup leftovers (pointyhat)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 21 20:40:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jason Helfman
>Release:        FreeBSD 8.2-RELEASE i386
>Organization:
Experts Exchange, LLC.
>Environment:
System: FreeBSD eggman.experts-exchange.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
leftover in tinderbox http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9.20110720004709/tomcat-5.5.33_1.log
after patch is applied, there is no leftover from build
added post-patch-script target to cleanup .orig files created from patch process.

feel free to add a portrevision, if needed. I don't believe it is.

>How-To-Repeat:
	
>Fix:

Index: Makefile
===================================================================
RCS file: /home/jhelfman/ncvs/ports/www/tomcat55/Makefile,v
retrieving revision 1.60
diff -u -r1.60 Makefile
--- Makefile	21 Jul 2011 05:03:01 -0000	1.60
+++ Makefile	21 Jul 2011 19:45:00 -0000
@@ -124,6 +124,11 @@
 	@${ECHO_MSG} " [ DONE ]"
 .endfor
 
+post-patch-script:
+	@${ECHO_MSG} -n ">> Removing unneeded patched files..."
+	@${FIND} ${WRKSRC} -type f \( -name '*.orig' \) -delete
+	@${ECHO_MSG} " [ DONE ]"
+
 do-install:
 	@${ECHO_MSG} -n ">> Creating destination directory..."
 	@${MKDIR} ${APP_HOME}
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1311280326.467448.48214.nullmailer>