diff options
author | obache <obache> | 2013-08-11 13:42:31 +0000 |
---|---|---|
committer | obache <obache> | 2013-08-11 13:42:31 +0000 |
commit | 49636b41dea60994029909ecf5a4b4af04f41fc4 (patch) | |
tree | 101b1f8e8528c1d2faa158df2d4e45abca923315 /x11 | |
parent | f74b3c1a17628302d13ec8a782e1b02f2829ce89 (diff) | |
download | pkgsrc-49636b41dea60994029909ecf5a4b4af04f41fc4.tar.gz |
libpciaccess is only required for Intel API, and only enabled for x86 CPU.
PR pkg/47948
Diffstat (limited to 'x11')
-rw-r--r-- | x11/libdrm/Makefile | 8 | ||||
-rw-r--r-- | x11/libdrm/PLIST | 12 |
2 files changed, 13 insertions, 7 deletions
diff --git a/x11/libdrm/Makefile b/x11/libdrm/Makefile index 655e5dd962c..8ef3080ac64 100644 --- a/x11/libdrm/Makefile +++ b/x11/libdrm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2013/07/02 21:03:16 wiz Exp $ +# $NetBSD: Makefile,v 1.33 2013/08/11 13:42:31 obache Exp $ DISTNAME= libdrm-2.4.46 CATEGORIES= x11 graphics @@ -38,5 +38,11 @@ CONFIGURE_ARGS+= PTHREADSTUBS_CFLAGS=-I${PREFIX}/include \ PTHREADSTUBS_LIBS=-L${PREFIX}/lib CONFIGURE_ARGS+= --disable-manpages +PLIST_VARS+= intel +.if !empty(MACHINE_ARCH:Mi386) || !empty(MACHINE_ARCH:Mx86_64) .include "../../sysutils/libpciaccess/buildlink3.mk" +PLIST.intel= yes +#.else +#CONFIGURE_ARGS+= --disable-intel +.endif .include "../../mk/bsd.pkg.mk" diff --git a/x11/libdrm/PLIST b/x11/libdrm/PLIST index d9c06081a3a..d259e377b7f 100644 --- a/x11/libdrm/PLIST +++ b/x11/libdrm/PLIST @@ -1,12 +1,12 @@ -@comment $NetBSD: PLIST,v 1.10 2013/05/18 13:40:48 wiz Exp $ +@comment $NetBSD: PLIST,v 1.11 2013/08/11 13:42:31 obache Exp $ include/libdrm/drm.h include/libdrm/drm_fourcc.h include/libdrm/drm_mode.h include/libdrm/drm_sarea.h include/libdrm/i915_drm.h -include/libdrm/intel_aub.h -include/libdrm/intel_bufmgr.h -include/libdrm/intel_debug.h +${PLIST.intel}include/libdrm/intel_aub.h +${PLIST.intel}include/libdrm/intel_bufmgr.h +${PLIST.intel}include/libdrm/intel_debug.h include/libdrm/mach64_drm.h include/libdrm/mga_drm.h include/libdrm/nouveau.h @@ -29,10 +29,10 @@ include/libdrm/vmwgfx_drm.h include/xf86drm.h include/xf86drmMode.h lib/libdrm.la -lib/libdrm_intel.la +${PLIST.intel}lib/libdrm_intel.la lib/libdrm_nouveau.la lib/libdrm_radeon.la lib/pkgconfig/libdrm.pc -lib/pkgconfig/libdrm_intel.pc +${PLIST.intel}lib/pkgconfig/libdrm_intel.pc lib/pkgconfig/libdrm_nouveau.pc lib/pkgconfig/libdrm_radeon.pc |