Subject: pkg/22438: Fix textproc/fop on SunOS
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <jonathan@perkin.org.uk>
List: netbsd-bugs
Date: 08/11/2003 12:42:17
>Number: 22438
>Category: pkg
>Synopsis: Fix textproc/fop on SunOS
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 11 12:43:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Jonathan Perkin
>Release: N/A
>Organization:
British Broadcasting Corporation
>Environment:
SunOS build0 5.8 Generic_108528-15 sun4u sparc SUNW,UltraSPARC-IIi-cEngine
>Description:
textproc/fop/Makefile depends on BSD find(1) behaviour, using the "-d"
flag. SunOS' find, at least, doesn't support it.
Fortunately, it seems like -d is redundant anyway, as there are no
nested directories in the list.
>How-To-Repeat:
===> Returning to build of fop-0.15.0
/usr/bin/find -d /home/jonp/src/pkgsrc/textproc/fop/work/docs -name cvs -exec /usr/bin/rm -r '{}' \;
/usr/bin/find: path-list predicate-list
*** Error code 1
>Fix:
http://www.perkin.org.uk/projects/netbsd/fop.diff
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/fop/Makefile,v
retrieving revision 1.18
diff -u -u -r1.18 Makefile
--- Makefile 2003/07/21 17:27:31 1.18
+++ Makefile 2003/08/11 12:40:48
@@ -27,7 +27,7 @@
NO_BUILD=
post-extract:
- ${FIND} -d ${WRKSRC}/docs -name cvs -exec ${RM} -r '{}' \;
+ ${FIND} ${WRKSRC}/docs -name cvs -exec ${RM} -r '{}' \;
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/java
>Release-Note:
>Audit-Trail:
>Unformatted: