pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/binutils If a package includes this bl3.mk, then...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e4639332adb3
branches: trunk
changeset: 540054:e4639332adb3
user: tnn <tnn%pkgsrc.org@localhost>
date: Mon Mar 24 19:53:01 2008 +0000
description:
If a package includes this bl3.mk, then ensure that it uses as(1) provided
by binutils. This should fix multimedia/m{encoder,player} when using
the mplayer-ssse3 option. (huh, what's with the extra s in the option name?)
Reported in private mail from Dennis den Brok.
diffstat:
devel/binutils/buildlink3.mk | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 052b4224065e -r e4639332adb3 devel/binutils/buildlink3.mk
--- a/devel/binutils/buildlink3.mk Mon Mar 24 18:48:54 2008 +0000
+++ b/devel/binutils/buildlink3.mk Mon Mar 24 19:53:01 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.20 2007/05/29 12:27:24 martti Exp $
+# $NetBSD: buildlink3.mk,v 1.21 2008/03/24 19:53:01 tnn Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BINUTILS_BUILDLINK3_MK:= ${BINUTILS_BUILDLINK3_MK}+
@@ -17,4 +17,11 @@
BUILDLINK_DEPMETHOD.binutils?= build
.endif # BINUTILS_BUILDLINK3_MK
+GNU_PREFIX_CMD= \
+ ${PKG_INFO} -Q GNU_PROGRAM_PREFIX binutils 2>/dev/null \
+ || { cd ${BUILDLINK_PKGSRCDIR.binutils} \
+ && ${MAKE} ${MAKEFLAGS} show-var VARNAME=GNU_PROGRAM_PREFIX; }
+
+PKG_AS= ${PREFIX}/bin/${:!${GNU_PREFIX_CMD}!}as
+
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
Home |
Main Index |
Thread Index |
Old Index