pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/libmpeg2 no need for patches to remove comm...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cec1b4ab68f0
branches:  trunk
changeset: 496985:cec1b4ab68f0
user:      grant <grant%pkgsrc.org@localhost>
date:      Mon Jul 18 07:25:33 2005 +0000

description:
no need for patches to remove commandline args, just use
BUILDLINK_TRANSFORM's "rm", and only on Darwin. hi adam :)

diffstat:

 multimedia/libmpeg2/distinfo         |   3 +--
 multimedia/libmpeg2/hacks.mk         |   7 +++++++
 multimedia/libmpeg2/patches/patch-aa |  13 -------------
 3 files changed, 8 insertions(+), 15 deletions(-)

diffs (39 lines):

diff -r 796011db034a -r cec1b4ab68f0 multimedia/libmpeg2/distinfo
--- a/multimedia/libmpeg2/distinfo      Mon Jul 18 07:04:42 2005 +0000
+++ b/multimedia/libmpeg2/distinfo      Mon Jul 18 07:25:33 2005 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.4 2005/07/16 13:05:51 adam Exp $
+$NetBSD: distinfo,v 1.5 2005/07/18 07:25:33 grant Exp $
 
 SHA1 (mpeg2dec-0.4.0b.tar.gz) = 7ad99a810802f216893022fa14fa078ac49d67d7
 RMD160 (mpeg2dec-0.4.0b.tar.gz) = 44df6c21e88d2c3029ef418ea46e2d6796c90004
 Size (mpeg2dec-0.4.0b.tar.gz) = 473846 bytes
-SHA1 (patch-aa) = fcca7b3b61858bd21c4b59293e7fc145e50ce6ec
diff -r 796011db034a -r cec1b4ab68f0 multimedia/libmpeg2/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libmpeg2/hacks.mk      Mon Jul 18 07:25:33 2005 +0000
@@ -0,0 +1,7 @@
+# $NetBSD: hacks.mk,v 1.1 2005/07/18 07:25:33 grant Exp $
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+BUILDLINK_TRANSFORM+=   rm:-O3
+.endif    
diff -r 796011db034a -r cec1b4ab68f0 multimedia/libmpeg2/patches/patch-aa
--- a/multimedia/libmpeg2/patches/patch-aa      Mon Jul 18 07:04:42 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2005/07/16 13:05:51 adam Exp $
-
---- configure.orig     2005-07-16 14:56:40.000000000 +0200
-+++ configure  2005-07-16 14:56:45.000000000 +0200
-@@ -3851,7 +3851,7 @@
- 
-     TRY_CFLAGS=`echo "$OPT_CFLAGS $CFLAGS"|sed "s/-O[0-9]*//g"`
- 
--    TRY_CFLAGS="$TRY_CFLAGS -O3"
-+    TRY_CFLAGS="$TRY_CFLAGS"
-     echo "$as_me:$LINENO: checking if $CC supports $TRY_CFLAGS flags" >&5
- echo $ECHO_N "checking if $CC supports $TRY_CFLAGS flags... $ECHO_C" >&6
-     SAVE_CFLAGS="$CFLAGS"



Home | Main Index | Thread Index | Old Index