Sun May 2 22:24:38 2010 UTC ()
libdrm only makes sense on BSD and Linux.


(joerg)
diff -r1.13 -r1.14 pkgsrc/x11/libdrm/Makefile

cvs diff -r1.13 -r1.14 pkgsrc/x11/libdrm/Makefile (expand / switch to unified diff)

--- pkgsrc/x11/libdrm/Makefile 2010/04/19 18:49:30 1.13
+++ pkgsrc/x11/libdrm/Makefile 2010/05/02 22:24:38 1.14
@@ -1,27 +1,30 @@ @@ -1,27 +1,30 @@
1# $NetBSD: Makefile,v 1.13 2010/04/19 18:49:30 tnn Exp $ 1# $NetBSD: Makefile,v 1.14 2010/05/02 22:24:38 joerg Exp $
2# 2#
3 3
4DISTNAME= libdrm-2.4.20 4DISTNAME= libdrm-2.4.20
5CATEGORIES= x11 graphics 5CATEGORIES= x11 graphics
6MASTER_SITES= http://dri.freedesktop.org/libdrm/ 6MASTER_SITES= http://dri.freedesktop.org/libdrm/
7EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
8 8
9MAINTAINER= joerg@NetBSD.org 9MAINTAINER= joerg@NetBSD.org
10HOMEPAGE= http://dri.freedesktop.org/wiki/DRM 10HOMEPAGE= http://dri.freedesktop.org/wiki/DRM
11COMMENT= Userspace interface to kernel DRM services 11COMMENT= Userspace interface to kernel DRM services
12 12
13PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
14 14
 15ONLY_FOR_PLATFORM= NetBSD-*-* DragonFly-*-* FreeBSD-*-* OpenBSD-*-* \
 16 Linux-*-*
 17
15USE_PKGLOCALEDIR= yes 18USE_PKGLOCALEDIR= yes
16USE_TOOLS+= pkg-config 19USE_TOOLS+= pkg-config
17USE_LIBTOOL= yes 20USE_LIBTOOL= yes
18PKGCONFIG_OVERRIDE+= libdrm.pc.in 21PKGCONFIG_OVERRIDE+= libdrm.pc.in
19GNU_CONFIGURE= yes 22GNU_CONFIGURE= yes
20 23
21.include "../../mk/bsd.prefs.mk" 24.include "../../mk/bsd.prefs.mk"
22 25
23SUBST_CLASSES+= atomic 26SUBST_CLASSES+= atomic
24SUBST_FILES.atomic= xf86drm.h 27SUBST_FILES.atomic= xf86drm.h
25SUBST_MESSAGE.atomic= Configuring xf86drm.h's atomic operations. 28SUBST_MESSAGE.atomic= Configuring xf86drm.h's atomic operations.
26SUBST_STAGE.atomic= pre-configure 29SUBST_STAGE.atomic= pre-configure
27SUBST_VARS.atomic= ATOMIC_OPS_CHECK 30SUBST_VARS.atomic= ATOMIC_OPS_CHECK