[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / libatomic_ops

File: [cvs.NetBSD.org] / pkgsrc / devel / libatomic_ops / Makefile (download)

Revision 1.18, Tue Sep 18 03:42:07 2018 UTC (3 years, 1 month ago) by maya
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.17: +5 -1 lines

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

from Tobias Ulmer in PR pkg/53570

# $NetBSD: Makefile,v 1.18 2018/09/18 03:42:07 maya Exp $

DISTNAME=	libatomic_ops-7.6.6
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GITHUB:=ivmai/}
GITHUB_RELEASE=	v${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/ivmai/libatomic_ops
COMMENT=	Multi-platform library of atomic operations by Hans Boehm
LICENSE=	gnu-gpl-v2

USE_LANGUAGES+=		c
USE_LIBTOOL=		yes
USE_TOOLS+=		gmake
GNU_CONFIGURE=		yes
PKGCONFIG_OVERRIDE=	pkgconfig/atomic_ops.pc.in
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"