diff options
author | richard <richard@pkgsrc.org> | 2013-05-16 05:43:14 +0000 |
---|---|---|
committer | richard <richard@pkgsrc.org> | 2013-05-16 05:43:14 +0000 |
commit | 135a3f7c2d71d692a824fda642c6a6eaaa3ae171 (patch) | |
tree | b9cd3a88788c7541ef22f545014667154a54a9b2 /x11/libdrm/Makefile | |
parent | e236febcfd8dc2b103fbad68eda274d017224bb5 (diff) | |
download | pkgsrc-135a3f7c2d71d692a824fda642c6a6eaaa3ae171.tar.gz |
update atomic_ops for libdrm
Diffstat (limited to 'x11/libdrm/Makefile')
-rw-r--r-- | x11/libdrm/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/x11/libdrm/Makefile b/x11/libdrm/Makefile index 7068ec88783..abaf1df83dc 100644 --- a/x11/libdrm/Makefile +++ b/x11/libdrm/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.29 2013/04/21 14:34:37 wiz Exp $ +# $NetBSD: Makefile,v 1.30 2013/05/16 05:43:14 richard Exp $ DISTNAME= libdrm-2.4.44 +PKGREVISION= 1 CATEGORIES= x11 graphics MASTER_SITES= http://dri.freedesktop.org/libdrm/ EXTRACT_SUFX= .tar.bz2 @@ -27,13 +28,11 @@ SUBST_STAGE.atomic= pre-configure SUBST_VARS.atomic= ATOMIC_OPS_CHECK ATOMIC_OPS_CHECK= 0 -.if ${OPSYS} == "NetBSD" -. if exists(/usr/include/sys/atomic.h) +.if exists(/usr/include/sys/atomic.h) ATOMIC_OPS_CHECK= 1 -. else +.else . include "../../devel/libatomic_ops/buildlink3.mk" CONFIGURE_ENV+= drm_cv_atomic_primitives=libatomic-ops -. endif .endif CONFIGURE_ARGS+= PTHREADSTUBS_CFLAGS=-I${PREFIX}/include \ |