diff options
author | bouyer <bouyer@pkgsrc.org> | 2002-10-26 13:11:37 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2002-10-26 13:11:37 +0000 |
commit | bc77fc8f89359a565e8f0f926ba7bbdae27683f5 (patch) | |
tree | e371df589a6a518d978406c84c538d35eef5c2cd /graphics/xanim | |
parent | 19da4b53c25de3eaf9c086f67eb0cb112bcde424 (diff) | |
download | pkgsrc-bc77fc8f89359a565e8f0f926ba7bbdae27683f5.tar.gz |
Solaris's /bin/sh doesn't like
for file in ${CODEC_FILES}; do
when CODEC_FILES is empty. .if out this part of the code if CODEC_FILES
is not defined or is empty.
Diffstat (limited to 'graphics/xanim')
-rw-r--r-- | graphics/xanim/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/xanim/Makefile b/graphics/xanim/Makefile index 5d836b50985..4a45b79ec53 100644 --- a/graphics/xanim/Makefile +++ b/graphics/xanim/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2002/10/06 11:43:25 jlam Exp $ +# $NetBSD: Makefile,v 1.30 2002/10/26 13:11:37 bouyer Exp $ DISTNAME= xanim2801 PKGNAME= xanim-2.80.1 @@ -44,10 +44,12 @@ XANIM_AUDIO.SunOS= XA_AUDIO_DEFS="-DXA_SPARC_AUDIO -DSVR4 -DXA_SELECT" post-extract: @${LN} -s docs/xanim.man ${WRKSRC} @${MKDIR} ${WRKSRC}/mods +.if defined(CODEC_FILES) && !empty(CODEC_FILES) @for file in ${CODEC_FILES}; do \ ${CP} ${DISTDIR}/$$file ${WRKSRC}/mods; \ ${GUNZIP_CMD} ${WRKSRC}/mods/$$file; \ done +.endif .include "../../mk/ossaudio.buildlink2.mk" .include "../../mk/bsd.pkg.mk" |