pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libatomic_ops libatomic_ops: build fix for netbs...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3e3919dd07d0
branches:  trunk
changeset: 385267:3e3919dd07d0
user:      maya <maya%pkgsrc.org@localhost>
date:      Tue Sep 18 03:42:07 2018 +0000

description:
libatomic_ops: build fix for netbsd/sparc, which might be sparc v8.

from Tobias Ulmer in PR pkg/53570

diffstat:

 devel/libatomic_ops/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 6a8443d27073 -r 3e3919dd07d0 devel/libatomic_ops/Makefile
--- a/devel/libatomic_ops/Makefile      Tue Sep 18 03:37:03 2018 +0000
+++ b/devel/libatomic_ops/Makefile      Tue Sep 18 03:42:07 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2018/08/16 10:13:30 adam Exp $
+# $NetBSD: Makefile,v 1.18 2018/09/18 03:42:07 maya Exp $
 
 DISTNAME=      libatomic_ops-7.6.6
 CATEGORIES=    devel
@@ -19,4 +19,8 @@
 
 INSTALL_MAKE_FLAGS=    pkgdatadir=${PREFIX}/share/doc/libatomic_ops
 
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc)
+CPPFLAGS+=     -DAO_NO_SPARC_V9=1
+.endif
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index