pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/bml fix build breakage on NetBSD/i386



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c3663b4c68e4
branches:  trunk
changeset: 399522:c3663b4c68e4
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Mon Sep 21 18:07:10 2009 +0000

description:
fix build breakage on NetBSD/i386

diffstat:

 audio/bml/Makefile |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 736a3b46a2de -r c3663b4c68e4 audio/bml/Makefile
--- a/audio/bml/Makefile        Mon Sep 21 17:48:46 2009 +0000
+++ b/audio/bml/Makefile        Mon Sep 21 18:07:10 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/09/10 20:16:44 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2009/09/21 18:07:10 tnn Exp $
 #
 
 DISTNAME=      bml-0.5.0
@@ -18,7 +18,14 @@
 USE_LANGUAGES= c c++
 
 PKGCONFIG_OVERRIDE+=   libbml.pc.in
-
 BUILDLINK_TRANSFORM+=  rm:-ldl
 
+CFLAGS+=       -DHAVE_VSSCANF=1        # missing configure logic
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386)
+LDFLAGS+=      -li386                  # for i386_set_ldt
+.endif
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index