summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2005-08-10 20:18:18 +0000
committeradam <adam@pkgsrc.org>2005-08-10 20:18:18 +0000
commitbc28514c15283af3bcae7136be3e6c17f0113f0b (patch)
treef87e6ff429599b145318752e6ac83089876e0656 /multimedia
parent2c1cb76d3760925880e29aac17a4999f2de5a9dd (diff)
downloadpkgsrc-bc28514c15283af3bcae7136be3e6c17f0113f0b.tar.gz
hacks.mk does not work; even more correct patch submitted
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libmpeg2/distinfo3
-rw-r--r--multimedia/libmpeg2/hacks.mk7
-rw-r--r--multimedia/libmpeg2/patches/patch-aa13
3 files changed, 15 insertions, 8 deletions
diff --git a/multimedia/libmpeg2/distinfo b/multimedia/libmpeg2/distinfo
index 4f8447e8db3..c47ca033463 100644
--- a/multimedia/libmpeg2/distinfo
+++ b/multimedia/libmpeg2/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2005/07/18 07:25:33 grant Exp $
+$NetBSD: distinfo,v 1.6 2005/08/10 20:18:18 adam 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) = 4a4ae2ac7a227386b52387782fd1bdef841ebdef
diff --git a/multimedia/libmpeg2/hacks.mk b/multimedia/libmpeg2/hacks.mk
deleted file mode 100644
index 9df84fdec8c..00000000000
--- a/multimedia/libmpeg2/hacks.mk
+++ /dev/null
@@ -1,7 +0,0 @@
-# $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 --git a/multimedia/libmpeg2/patches/patch-aa b/multimedia/libmpeg2/patches/patch-aa
new file mode 100644
index 00000000000..197cc6e3593
--- /dev/null
+++ b/multimedia/libmpeg2/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.3 2005/08/10 20:18:19 adam Exp $
+
+--- configure.orig 2003-12-23 13:07:34.000000000 +0100
++++ configure 2005-08-10 22:06:09.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="$OPT_CFLAGS $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"