pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/fop Use the appropriate find(1) options depen...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d8abe118f430
branches:  trunk
changeset: 460900:d8abe118f430
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Sep 06 16:45:06 2003 +0000

description:
Use the appropriate find(1) options depending on OPSYS (-d vs. -depth).
Patch by Jonathan Perkin.

diffstat:

 textproc/fop/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 26da52a37ec6 -r d8abe118f430 textproc/fop/Makefile
--- a/textproc/fop/Makefile     Sat Sep 06 15:57:56 2003 +0000
+++ b/textproc/fop/Makefile     Sat Sep 06 16:45:06 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2003/07/21 17:27:31 martti Exp $
+# $NetBSD: Makefile,v 1.19 2003/09/06 16:45:06 wiz Exp $
 #
 # Note: we currently use the pre-built (-bin) distribution of FOP,
 # because although FOP runs fine under JDK 1.1, JDK 1.2 or greater is
@@ -26,8 +26,15 @@
 NO_CONFIGURE=
 NO_BUILD=
 
+.include "../../mk/bsd.prefs.mk"
+
 post-extract:
+.if ${OPSYS:M*BSD}
        ${FIND} -d ${WRKSRC}/docs -name cvs -exec ${RM} -r '{}' \;
+.else
+       ${FIND} ${WRKSRC}/docs -depth -name cvs -exec ${RM} -r '{}' \;
+.endif
+
 
 do-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/lib/java



Home | Main Index | Thread Index | Old Index