diff options
author | knu <knu@FreeBSD.org> | 2002-09-21 14:58:29 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-09-21 14:58:29 +0800 |
commit | f3eda7e85be02036986f44251ffa41b8b798c903 (patch) | |
tree | 784440a0b0ec1efe05c2055c621669afc01bb8a7 /x11-toolkits/open-motif | |
parent | 0bb788e359dedb7f918eb5a8e93af536da6f3750 (diff) | |
download | freebsd-ports-gnome-f3eda7e85be02036986f44251ffa41b8b798c903.tar.gz freebsd-ports-gnome-f3eda7e85be02036986f44251ffa41b8b798c903.tar.zst freebsd-ports-gnome-f3eda7e85be02036986f44251ffa41b8b798c903.zip |
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 1a2eb5ed3029..112a5a3dcba1 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) |