diff options
author | rillig <rillig> | 2007-11-17 15:56:06 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-11-17 15:56:06 +0000 |
commit | 4ac380bb2dd57a01d687c3eb440433e08c1c1dcf (patch) | |
tree | 9a10ee0d64c4f95c8ead6a113caaa9668afbab2d /graphics/dia | |
parent | 232fdfd077faa4dd95d304dbd4c83ca8a8483800 (diff) | |
download | pkgsrc-4ac380bb2dd57a01d687c3eb440433e08c1c1dcf.tar.gz |
Patch empty "for" loops out of the Makefile.in files. This is needed for
Solaris.
Diffstat (limited to 'graphics/dia')
-rw-r--r-- | graphics/dia/Makefile.common | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/dia/Makefile.common b/graphics/dia/Makefile.common index e6e5bcdb688..a11a59c8a34 100644 --- a/graphics/dia/Makefile.common +++ b/graphics/dia/Makefile.common @@ -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_STAGE.intl= pre-configure 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 |