aboutsummaryrefslogtreecommitdiff
path: root/graphics/libdrm
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2010-02-07 11:51:08 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2010-02-07 11:51:08 +0000
commitf18d011411205cf73900c4ef2b0d09292fb21dcb (patch)
treee4a0aadff05f8588e9a24cc00643de3ea9c946db /graphics/libdrm
parent4ab15900201491184867bf500e631fe0dc6a4eeb (diff)
downloadports-f18d011411205cf73900c4ef2b0d09292fb21dcb.tar.gz
ports-f18d011411205cf73900c4ef2b0d09292fb21dcb.zip
Notes
Diffstat (limited to 'graphics/libdrm')
-rw-r--r--graphics/libdrm/Makefile11
-rw-r--r--graphics/libdrm/distinfo3
-rw-r--r--graphics/libdrm/pkg-plist36
3 files changed, 31 insertions, 19 deletions
diff --git a/graphics/libdrm/Makefile b/graphics/libdrm/Makefile
index 2d69dffdca78..7c93d799ad3f 100644
--- a/graphics/libdrm/Makefile
+++ b/graphics/libdrm/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libdrm
-PORTVERSION= 2.4.12
+PORTVERSION= ${LIBDRM_VERSION}
CATEGORIES= graphics x11
MASTER_SITES= http://dri.freedesktop.org/libdrm/
@@ -22,7 +22,16 @@ USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
+.ifdef WITHOUT_NOUVEAU
+LIBDRM_VERSION= 2.4.17
+CONFIGURE_ARGS= --disable-nouveau-experimental-api \
+ --disable-radeon-experimental-api
+PLIST_SUB+= NEW= OLD="@comment "
+.else
+LIBDRM_VERSION= 2.4.12
CONFIGURE_ARGS= --enable-nouveau-experimental-api
+PLIST_SUB+= OLD= NEW="@comment "
+.endif
pre-patch:
@${REINPLACE_CMD} 's|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|g' \
diff --git a/graphics/libdrm/distinfo b/graphics/libdrm/distinfo
index d10186d2c93a..d6e79db263fa 100644
--- a/graphics/libdrm/distinfo
+++ b/graphics/libdrm/distinfo
@@ -1,3 +1,6 @@
MD5 (libdrm-2.4.12.tar.bz2) = 15d26219c046377d5fcb1cb37e7b03a2
SHA256 (libdrm-2.4.12.tar.bz2) = 89e3b16aff13c5219d13b08f9143793f74777b752d87c760ec6e52fb8676bd31
SIZE (libdrm-2.4.12.tar.bz2) = 414175
+MD5 (libdrm-2.4.17.tar.bz2) = 667d81f993f7fd8a1b1b1b830a28a748
+SHA256 (libdrm-2.4.17.tar.bz2) = b8a4e7c610b0e970546d791c06e28882857a49d34698633a89292d7ae142316a
+SIZE (libdrm-2.4.17.tar.bz2) = 408882
diff --git a/graphics/libdrm/pkg-plist b/graphics/libdrm/pkg-plist
index 209876f2b13d..3cfad1e6846d 100644
--- a/graphics/libdrm/pkg-plist
+++ b/graphics/libdrm/pkg-plist
@@ -4,25 +4,25 @@ include/drm/drm_sarea.h
include/drm/i915_drm.h
include/drm/mach64_drm.h
include/drm/mga_drm.h
-include/drm/nouveau_drm.h
-include/drm/nouveau_drmif.h
+%%OLD%%include/drm/nouveau_drm.h
+%%OLD%%include/drm/nouveau_drmif.h
include/drm/r128_drm.h
-include/drm/r300_reg.h
+%%OLD%%include/drm/r300_reg.h
include/drm/radeon_drm.h
include/drm/savage_drm.h
include/drm/sis_drm.h
-include/drm/via_3d_reg.h
+%%OLD%%include/drm/via_3d_reg.h
include/drm/via_drm.h
-include/drm/xgi_drm.h
+%%OLD%%include/drm/xgi_drm.h
include/intel_bufmgr.h
-include/nouveau/nouveau_bo.h
-include/nouveau/nouveau_channel.h
-include/nouveau/nouveau_class.h
-include/nouveau/nouveau_device.h
-include/nouveau/nouveau_grobj.h
-include/nouveau/nouveau_notifier.h
-include/nouveau/nouveau_pushbuf.h
-include/nouveau/nouveau_resource.h
+%%OLD%%include/nouveau/nouveau_bo.h
+%%OLD%%include/nouveau/nouveau_channel.h
+%%OLD%%include/nouveau/nouveau_class.h
+%%OLD%%include/nouveau/nouveau_device.h
+%%OLD%%include/nouveau/nouveau_grobj.h
+%%OLD%%include/nouveau/nouveau_notifier.h
+%%OLD%%include/nouveau/nouveau_pushbuf.h
+%%OLD%%include/nouveau/nouveau_resource.h
include/xf86drm.h
include/xf86drmMode.h
lib/libdrm.la
@@ -31,11 +31,11 @@ lib/libdrm.so.2
lib/libdrm_intel.la
lib/libdrm_intel.so
lib/libdrm_intel.so.1
-lib/libdrm_nouveau.la
-lib/libdrm_nouveau.so
-lib/libdrm_nouveau.so.1
+%%OLD%%lib/libdrm_nouveau.la
+%%OLD%%lib/libdrm_nouveau.so
+%%OLD%%lib/libdrm_nouveau.so.1
libdata/pkgconfig/libdrm.pc
libdata/pkgconfig/libdrm_intel.pc
-libdata/pkgconfig/libdrm_nouveau.pc
+%%OLD%%libdata/pkgconfig/libdrm_nouveau.pc
@dirrm include/drm
-@dirrm include/nouveau
+%%OLD%%@dirrm include/nouveau