summaryrefslogtreecommitdiff
path: root/multimedia/transcode
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2006-08-24 16:06:25 +0000
committerxtraeme <xtraeme@pkgsrc.org>2006-08-24 16:06:25 +0000
commit50089460c611805a3bb480fae0d7b62693a5d367 (patch)
treed01ac2aca90700c0e210238397276d760091c335 /multimedia/transcode
parent47bd202c6b358a037dba88b2e5d40b2706b07aa2 (diff)
downloadpkgsrc-50089460c611805a3bb480fae0d7b62693a5d367.tar.gz
Fix installation on systems with gcc4... looks like the filter_tomsmocomp
is only built when the compiler is not gcc4.
Diffstat (limited to 'multimedia/transcode')
-rw-r--r--multimedia/transcode/Makefile10
-rw-r--r--multimedia/transcode/PLIST4
2 files changed, 11 insertions, 3 deletions
diff --git a/multimedia/transcode/Makefile b/multimedia/transcode/Makefile
index 820bfd0d656..2e1e68b61c7 100644
--- a/multimedia/transcode/Makefile
+++ b/multimedia/transcode/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2006/08/06 05:16:51 kristerw Exp $
+# $NetBSD: Makefile,v 1.34 2006/08/24 16:06:25 xtraeme Exp $
#
DISTNAME= transcode-1.0.2
@@ -25,6 +25,14 @@ CONFIGURE_ARGS+= --disable-xio
LIBS+= ${LIBOSSAUDIO}
+.include "../../mk/compiler.mk"
+
+.if !empty(CC_VERSION:Mgcc-4*)
+PLIST_SUBST+= TOMSMOCOMP='@comment '
+.else
+PLIST_SUBST+= TOMSMOCOMP=
+.endif
+
.include "options.mk"
.include "../../audio/lame/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
diff --git a/multimedia/transcode/PLIST b/multimedia/transcode/PLIST
index 61d65094cd4..d4d30fa0cae 100644
--- a/multimedia/transcode/PLIST
+++ b/multimedia/transcode/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2006/01/25 08:53:34 xtraeme Exp $
+@comment $NetBSD: PLIST,v 1.8 2006/08/24 16:06:25 xtraeme Exp $
bin/avifix
bin/aviindex
bin/avimerge
@@ -104,7 +104,7 @@ lib/transcode/filter_tc_video.la
lib/transcode/filter_test.la
lib/transcode/filter_testframe.la
${FREETYPE2}lib/transcode/filter_text.la
-lib/transcode/filter_tomsmocomp.la
+${TOMSMOCOMP}lib/transcode/filter_tomsmocomp.la
lib/transcode/filter_unsharp.la
lib/transcode/filter_videocore.la
lib/transcode/filter_whitebalance.la