pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/transcode Fix installation on systems with ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9dff2215b575
branches:  trunk
changeset: 517886:9dff2215b575
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Thu Aug 24 16:06:25 2006 +0000

description:
Fix installation on systems with gcc4... looks like the filter_tomsmocomp
is only built when the compiler is not gcc4.

diffstat:

 multimedia/transcode/Makefile |  10 +++++++++-
 multimedia/transcode/PLIST    |   4 ++--
 2 files changed, 11 insertions(+), 3 deletions(-)

diffs (42 lines):

diff -r da7803293710 -r 9dff2215b575 multimedia/transcode/Makefile
--- a/multimedia/transcode/Makefile     Thu Aug 24 15:45:57 2006 +0000
+++ b/multimedia/transcode/Makefile     Thu Aug 24 16:06:25 2006 +0000
@@ -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 @@
 
 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 -r da7803293710 -r 9dff2215b575 multimedia/transcode/PLIST
--- a/multimedia/transcode/PLIST        Thu Aug 24 15:45:57 2006 +0000
+++ b/multimedia/transcode/PLIST        Thu Aug 24 16:06:25 2006 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index