diff options
author | dsainty <dsainty> | 2009-11-12 01:15:31 +0000 |
---|---|---|
committer | dsainty <dsainty> | 2009-11-12 01:15:31 +0000 |
commit | 2d7265c56f19ec81140fee60a5982df10cc1fd74 (patch) | |
tree | 60c25a17d2768b95b84f5c1dd450ea669a023149 /textproc | |
parent | c518e6e260651e735d44712ae1c17a80d782f9d5 (diff) | |
download | pkgsrc-2d7265c56f19ec81140fee60a5982df10cc1fd74.tar.gz |
When fixing Makefile filenames for case, skip attempting to fix filenames that
are already correct.
Stops the build from breaking with errors about the source and destination
being the same.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/OdfConverter/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/textproc/OdfConverter/Makefile b/textproc/OdfConverter/Makefile index 7b0961b9a38..f9ef9668746 100644 --- a/textproc/OdfConverter/Makefile +++ b/textproc/OdfConverter/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2009/09/02 08:47:15 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2009/11/12 01:15:31 dsainty Exp $ # DISTNAME= OdfAddinForOffice-src-3.0 @@ -46,7 +46,8 @@ FILE_CASE_FIXES+= source/Shell/OdfConverter/OdfValidator.cs post-extract: cd ${WRKDIR} && mv "odf-converter-r5224/trunk" ${DISTNAME:Q} set -e; \ - find "${WRKSRC}" -name '[Mm][Aa][Kk][Ee][Ff][Ii][Ll][Ee]' -print | \ + find "${WRKSRC}" -name Makefile -o \ + -name '[Mm][Aa][Kk][Ee][Ff][Ii][Ll][Ee]' -print | \ while read file; do \ dir=`dirname "$$file"`; mv "$$file" "$$dir/Makefile"; done set -e; files=""; \ |