pkgsrc/x11/libdrm/Makefile
wiz b468921fd6 Update to 2.4.39:
Dave Airlie (1):
      radeon: add prime import/export support

Kenneth Graunke (1):
      intel: Use VG_CLEAR on the context destroy ioctl as well.

Marek Olšák (3):
      radeon: fix allocation of MSAA surfaces on r600-r700
      radeon: align r600 msaa buffers to a multiple of macrotile size
* num samples
      configure: bump version for 2.4.39 release

Tobias Klausmann (1):
      tests/modetest: Add a forgotten return, needed for opensuse buildservice

Víctor Manuel Jáquez Leal (1):
      omap: include omap_drm.h independently
2012-08-24 22:12:09 +00:00

46 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.22 2012/08/24 22:12:09 wiz Exp $
#
DISTNAME= libdrm-2.4.39
CATEGORIES= x11 graphics
MASTER_SITES= http://dri.freedesktop.org/libdrm/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://dri.freedesktop.org/wiki/DRM
COMMENT= Userspace interface to kernel DRM services
PKG_DESTDIR_SUPPORT= user-destdir
ONLY_FOR_PLATFORM= NetBSD-*-* DragonFly-*-* FreeBSD-*-* OpenBSD-*-* \
Linux-*-* SunOS-*-*
USE_PKGLOCALEDIR= yes
USE_TOOLS+= pkg-config
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE+= libdrm.pc.in
GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
SUBST_CLASSES+= atomic
SUBST_FILES.atomic= xf86drm.h
SUBST_MESSAGE.atomic= Configuring xf86drm.h's atomic operations.
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)
ATOMIC_OPS_CHECK= 1
. else
. include "../../devel/libatomic_ops/buildlink3.mk"
CONFIGURE_ENV+= drm_cv_atomic_primitives=libatomic-ops
. endif
.endif
CONFIGURE_ARGS+= PTHREADSTUBS_CFLAGS=-I${PREFIX}/include \
PTHREADSTUBS_LIBS=-L${PREFIX}/lib
.include "../../sysutils/libpciaccess/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"