ports/71019: Port java/jdk13 post-patch tries to descend into a just deleted directory
Rainer Goellner
rainer at jabbe.de
Fri Aug 27 07:00:37 UTC 2004
>Number: 71019
>Category: ports
>Synopsis: Port java/jdk13 post-patch tries to descend into a just deleted directory
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Aug 27 07:00:36 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Rainer Goellner
>Release: 5.2.1-RELEASE-p9
>Organization:
>Environment:
FreeBSD medea.jabbe.local 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #0: Wed Aug 25 07:28:45 CEST 2004 toor at medea.jabbe.local:/var/tmp/obj/opt2/FreeBSD/src.release_5_2/sys/GENERIC i386
>Description:
The post-patch target tries to delete unneeded version control system directories. As find defaults to a pre-order search, it first removes
a SCCS directory, then fails trying to descend into it.
>How-To-Repeat:
cd /usr/ports/java/jdk13
make patch
>Fix:
Add option -d to the find command line:
--- Makefile Fri Aug 27 07:59:18 2004
+++ Makefile Fri Aug 27 08:28:31 2004
@@ -195,7 +195,7 @@
${PATCH} -p0 -E < ${WRKDIR}/jdk131.patches
post-patch:
- @-${FIND} ${WRKDIR} -name SCCS -exec ${RM} -rf {} \;
+ @-${FIND} -d ${WRKDIR} -name SCCS -exec ${RM} -rf {} \;
@for file in ${LD_LIBRARY_PATH_FILES}; do \
${REINPLACE_CMD} -e "s:%%LOCALBASE%%:${LOCALBASE}:" \
${WRKSRC}/$${file}; \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list