pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/dia Patch empty "for" loops out of the Makefi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/005da0822e7c
branches:  trunk
changeset: 535436:005da0822e7c
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Nov 17 15:56:06 2007 +0000

description:
Patch empty "for" loops out of the Makefile.in files. This is needed for
Solaris.

diffstat:

 graphics/dia/Makefile.common |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 88e580e6fd86 -r 005da0822e7c graphics/dia/Makefile.common
--- a/graphics/dia/Makefile.common      Sat Nov 17 14:14:01 2007 +0000
+++ b/graphics/dia/Makefile.common      Sat Nov 17 15:56:06 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.18 2007/09/21 13:03:48 wiz Exp $
+# $NetBSD: Makefile.common,v 1.19 2007/11/17 15:56:06 rillig Exp $
 #
 
 DISTNAME=      dia-0.96.1
@@ -29,6 +29,12 @@
 SUBST_FILES.intl=      lib/intl.c
 SUBST_SED.intl=                -e 's,%%PREFIX%%,${PREFIX},g'
 
+SUBST_CLASSES+=                for
+SUBST_MESSAGE.for=     Fixing empty "for" loops.
+SUBST_STAGE.for=       pre-configure
+SUBST_FILES.for=       doc/*/Makefile.in
+SUBST_SED.for=         -e 's,for file in \$$(omffile); do,omffile="$$(omffile)"; for file in $$$$omffile; do,'
+
 .if empty(PKGNAME:Mdia-[0-9]*)
 DEPENDS+=              dia>=0.94nb1:../../graphics/dia
 



Home | Main Index | Thread Index | Old Index