diff options
author | knu <knu@FreeBSD.org> | 2002-09-21 06:58:29 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-09-21 06:58:29 +0000 |
commit | f3eda7e85be02036986f44251ffa41b8b798c903 (patch) | |
tree | 784440a0b0ec1efe05c2055c621669afc01bb8a7 /x11-toolkits/open-motif | |
parent | 0bb788e359dedb7f918eb5a8e93af536da6f3750 (diff) | |
download | FreeBSD-ports-f3eda7e85be02036986f44251ffa41b8b798c903.zip FreeBSD-ports-f3eda7e85be02036986f44251ffa41b8b798c903.tar.gz |
Unbreak by using find+xargs instead of globbing that results in
command line overflow if the length of WRKDIRPREFIX is very long.
Diffstat (limited to 'x11-toolkits/open-motif')
-rw-r--r-- | x11-toolkits/open-motif/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/x11-toolkits/open-motif/Makefile b/x11-toolkits/open-motif/Makefile index 1a2eb5e..112a5a3 100644 --- a/x11-toolkits/open-motif/Makefile +++ b/x11-toolkits/open-motif/Makefile @@ -53,12 +53,15 @@ post-patch: @${FIND} ${DEMOS_SRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|^install-data-am: |install-data-am: # |g' # fix sections - @${REINPLACE_CMD} -e 's|user cmd|1|' ${WRKSRC}/doc/man/man1/*.1 - @${REINPLACE_CMD} -e 's|library call|3|' ${WRKSRC}/doc/man/man3/*.3 + @${FIND} ${WRKSRC}/doc/man/man1 -name '*.1' -maxdepth 1 | \ + ${XARGS} ${REINPLACE_CMD} -e 's|user cmd|1|' + @${FIND} ${WRKSRC}/doc/man/man3 -name '*.3' -maxdepth 1 | \ + ${XARGS} ${REINPLACE_CMD} -e 's|library call|3|' # mwmrc is not a kernel interface!! @cd ${WRKSRC}/doc/man && ${CP} -f man4/mwmrc.4 man5/mwmrc.5 - @${REINPLACE_CMD} -e 's|special file|5| ; \ - s|file formats|5|' ${WRKSRC}/doc/man/man5/*.5 + @${FIND} ${WRKSRC}/doc/man/man5 -name '*.5' -maxdepth 1 | \ + ${XARGS} ${REINPLACE_CMD} -e 's|special file|5| ; \ + s|file formats|5|' post-install: .if !defined(WITHOUT_OPENMOTIF_DEMOS) |