pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/OdfConverter When fixing Makefile filenames f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/79aa9c2fe066
branches:  trunk
changeset: 567284:79aa9c2fe066
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Thu Nov 12 01:15:31 2009 +0000

description:
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:

 textproc/OdfConverter/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 1ae6e6a628fa -r 79aa9c2fe066 textproc/OdfConverter/Makefile
--- a/textproc/OdfConverter/Makefile    Thu Nov 12 00:13:26 2009 +0000
+++ b/textproc/OdfConverter/Makefile    Thu Nov 12 01:15:31 2009 +0000
@@ -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 @@
 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=""; \



Home | Main Index | Thread Index | Old Index