pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libatomic_ops



Module Name:    pkgsrc
Committed By:   maya
Date:           Tue Sep 18 03:42:07 UTC 2018

Modified Files:
        pkgsrc/devel/libatomic_ops: Makefile

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

from Tobias Ulmer in PR pkg/53570


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/libatomic_ops/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/libatomic_ops/Makefile
diff -u pkgsrc/devel/libatomic_ops/Makefile:1.17 pkgsrc/devel/libatomic_ops/Makefile:1.18
--- pkgsrc/devel/libatomic_ops/Makefile:1.17    Thu Aug 16 10:13:30 2018
+++ pkgsrc/devel/libatomic_ops/Makefile Tue Sep 18 03:42:07 2018
@@ -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 @@ TEST_TARGET=          check
 
 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