diff options
Diffstat (limited to 'x11/libdrm')
-rw-r--r-- | x11/libdrm/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/x11/libdrm/Makefile b/x11/libdrm/Makefile index 4f0e26e5d59..e5a5220f193 100644 --- a/x11/libdrm/Makefile +++ b/x11/libdrm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2012/06/10 16:32:13 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2012/06/15 23:06:03 dholland Exp $ # DISTNAME= libdrm-2.4.35 @@ -31,12 +31,12 @@ 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 -. include "../../devel/libatomic_ops/buildlink3.mk" +. else +. include "../../devel/libatomic_ops/buildlink3.mk" CONFIGURE_ENV+= drm_cv_atomic_primitives=libatomic-ops -. endif +. endif .endif CONFIGURE_ARGS+= PTHREADSTUBS_CFLAGS=-I${PREFIX}/include \ |