summaryrefslogtreecommitdiff
path: root/multimedia/libmpeg2
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2005-07-18 07:25:33 +0000
committergrant <grant@pkgsrc.org>2005-07-18 07:25:33 +0000
commit2e2f8a181d26ca713a8d345d23e18af2caf4ba21 (patch)
tree866452de3d6300823aae581533a30d7322a52499 /multimedia/libmpeg2
parent9b794369fc0eb8c3dfdbfc703d747487073b2967 (diff)
downloadpkgsrc-2e2f8a181d26ca713a8d345d23e18af2caf4ba21.tar.gz
no need for patches to remove commandline args, just use
BUILDLINK_TRANSFORM's "rm", and only on Darwin. hi adam :)
Diffstat (limited to 'multimedia/libmpeg2')
-rw-r--r--multimedia/libmpeg2/distinfo3
-rw-r--r--multimedia/libmpeg2/hacks.mk7
-rw-r--r--multimedia/libmpeg2/patches/patch-aa13
3 files changed, 8 insertions, 15 deletions
diff --git a/multimedia/libmpeg2/distinfo b/multimedia/libmpeg2/distinfo
index 7bd8239d195..4f8447e8db3 100644
--- a/multimedia/libmpeg2/distinfo
+++ b/multimedia/libmpeg2/distinfo
@@ -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 --git a/multimedia/libmpeg2/hacks.mk b/multimedia/libmpeg2/hacks.mk
new file mode 100644
index 00000000000..9df84fdec8c
--- /dev/null
+++ b/multimedia/libmpeg2/hacks.mk
@@ -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 --git a/multimedia/libmpeg2/patches/patch-aa b/multimedia/libmpeg2/patches/patch-aa
deleted file mode 100644
index dc6e81ce0de..00000000000
--- a/multimedia/libmpeg2/patches/patch-aa
+++ /dev/null
@@ -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"