pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/avidemux Use bl3. Instead of appending -O2...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/74aa0b3a8332
branches:  trunk
changeset: 470892:74aa0b3a8332
user:      snj <snj%pkgsrc.org@localhost>
date:      Fri Mar 12 19:59:13 2004 +0000

description:
Use bl3.  Instead of appending -O2 to CFLAGS, transform -O3 out.

diffstat:

 multimedia/avidemux/Makefile |  34 +++++++++++++++++-----------------
 1 files changed, 17 insertions(+), 17 deletions(-)

diffs (60 lines):

diff -r c2c87192756b -r 74aa0b3a8332 multimedia/avidemux/Makefile
--- a/multimedia/avidemux/Makefile      Fri Mar 12 19:58:38 2004 +0000
+++ b/multimedia/avidemux/Makefile      Fri Mar 12 19:59:13 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2004/03/11 10:38:01 jmmv Exp $
+# $NetBSD: Makefile,v 1.4 2004/03/12 19:59:13 snj Exp $
 #
 
 DISTNAME=      avidemux-2.0.18
@@ -13,7 +13,7 @@
 BUILD_USES_MSGFMT=     YES
 
 GNU_CONFIGURE=         YES
-USE_BUILDLINK2=                YES
+USE_BUILDLINK3=                YES
 USE_GNU_TOOLS+=                make
 USE_LIBTOOL=           YES
 
@@ -22,6 +22,8 @@
 
 CONFIGURE_ARGS+=       --disable-warnings
 
+BUILDLINK_TRANSFORM+=   S:-O3:
+
 .include "../../mk/bsd.prefs.mk"
 
 BUILD_DEFS+=           USE_MMX
@@ -40,19 +42,17 @@
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/avidemux/avidemux2 ${PREFIX}/bin/avidemux
 
-.include "../../audio/lame/buildlink2.mk"
-.include "../../audio/liba52/buildlink2.mk"
-.include "../../audio/libmad/buildlink2.mk"
-.include "../../audio/libvorbis/buildlink2.mk"
-.include "../../devel/gettext-lib/buildlink2.mk"
-.include "../../devel/pkgconfig/buildlink2.mk"
-.include "../../graphics/freetype2/buildlink2.mk"
-.include "../../multimedia/mjpegtools/buildlink2.mk"
-.include "../../multimedia/xvidcore/buildlink2.mk"
-.include "../../textproc/libxml2/buildlink2.mk"
-.include "../../x11/gtk2/buildlink2.mk"
-.include "../../mk/ossaudio.buildlink2.mk"
-.include "../../mk/pthread.buildlink2.mk"
+.include "../../audio/lame/buildlink3.mk"
+.include "../../audio/liba52/buildlink3.mk"
+.include "../../audio/libmad/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/pkgconfig/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../multimedia/mjpegtools/buildlink3.mk"
+.include "../../multimedia/xvidcore/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/ossaudio.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
-
-CFLAGS+=       -O2     # -O3 won't work properly (according to authors)



Home | Main Index | Thread Index | Old Index