pkgsrc/x11/libdrm/Makefile
bjs 7657825b67 Update to libdrm-2.3.1. There is no up-to-date ChangeLog in the package
whatsoever, so I cannot include a list here (see GIT history if
you're curious).

NOTE: This version of libdrm no longer includes the TTM interface.
      If any [xorg/mesa] packages are updated to versions explicitly requiring
      libdrm-2.3.1, then BUILDLINK_API_DEPENDS for this package will
      need to be changed.  Also, the i915tex dri driver found in
      graphics/MesaLib will not build with this version--but nor was it
      supported on any platform except Linux.  I have remove i915tex
      from the MesaLib driver build; this should be enough to avoid problems.
2008-07-16 06:41:17 +00:00

40 lines
964 B
Makefile

# $NetBSD: Makefile,v 1.6 2008/07/16 06:41:17 bjs Exp $
#
DISTNAME= libdrm-2.3.1
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
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE+= libdrm.pc.in
GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
ATOMIC_OPS_CHECK?= 0
SUBST_CLASSES+= atomic
SUBST_FILES.atomic= libdrm/xf86drm.h
SUBST_MESSAGE.atomic= Configuring xf86drm.h's atomic operations.
SUBST_STAGE.atomic= pre-configure
SUBST_VARS.atomic= ATOMIC_OPS_CHECK
.if ${OPSYS} == "NetBSD" && !target(netbsd-atomic-ops-check)
netbsd-atomic-ops-check:
ATOMIC_OPS_CHECK!=\
if ( ${NM} /usr/lib/libc.so | ${GREP} -q atomic_cas_uint ); then \
${ECHO} "1"; \
else \
${ECHO} "0"; \
fi
.endif
.include "../../mk/bsd.pkg.mk"