ports/159092: [patch][maintainer-update] www/tomcat55: cleanup leftovers (pointyhat)
Jason Helfman
jhelfman at experts-exchange.com
Thu Jul 21 20:40:13 UTC 2011
>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 at 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:
More information about the freebsd-ports-bugs
mailing list