no need for patches to remove commandline args, just use
BUILDLINK_TRANSFORM's "rm", and only on Darwin. hi adam :)
This commit is contained in:
parent
9b794369fc
commit
2e2f8a181d
3 changed files with 8 additions and 15 deletions
|
@ -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
|
||||
|
|
7
multimedia/libmpeg2/hacks.mk
Normal file
7
multimedia/libmpeg2/hacks.mk
Normal file
|
@ -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
|
|
@ -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"
|
Loading…
Reference in a new issue