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