diff options
author | bouyer <bouyer> | 2002-10-26 13:11:37 +0000 |
---|---|---|
committer | bouyer <bouyer> | 2002-10-26 13:11:37 +0000 |
commit | b57769170e60bcf7faa490655f142a41d8846dfb (patch) | |
tree | e371df589a6a518d978406c84c538d35eef5c2cd /graphics | |
parent | b0c4d77af812ef046622fa131c79772e63c5f545 (diff) | |
download | pkgsrc-b57769170e60bcf7faa490655f142a41d8846dfb.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')
-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" |