diff options
author | swills <swills@FreeBSD.org> | 2012-09-17 11:23:03 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2012-09-17 11:23:03 +0800 |
commit | a1b68a84420f44efb8e4f00f96ba948675204378 (patch) | |
tree | 0ef187ece32018f2b711acec8b8c837705ec12f9 /graphics/libdrm | |
parent | 5dc2898ea22311e4b7d18ce57c3f31c22dfcee98 (diff) | |
download | freebsd-ports-gnome-a1b68a84420f44efb8e4f00f96ba948675204378.tar.gz freebsd-ports-gnome-a1b68a84420f44efb8e4f00f96ba948675204378.tar.zst freebsd-ports-gnome-a1b68a84420f44efb8e4f00f96ba948675204378.zip |
- Fix build on PowerPC
PR: ports/171301
Submitted by: linimon
Diffstat (limited to 'graphics/libdrm')
-rw-r--r-- | graphics/libdrm/Makefile | 8 | ||||
-rw-r--r-- | graphics/libdrm/pkg-plist | 38 |
2 files changed, 24 insertions, 22 deletions
diff --git a/graphics/libdrm/Makefile b/graphics/libdrm/Makefile index 28e235498276..0482a79ca000 100644 --- a/graphics/libdrm/Makefile +++ b/graphics/libdrm/Makefile @@ -52,10 +52,12 @@ PLIST_SUB+= OLD="" NEW="@comment " .include <bsd.port.pre.mk> -.if ${ARCH} == "amd64" || ${ARCH} == "i386" || ${ARCH} == "ia64" -PLIST_SUB+= X86="" +.if ${ARCH} == "amd64" || ${ARCH} == "i386" || ${ARCH} == "ia64" || ${ARCH} == "powerpc" +PLIST_SUB+= INTEL_DRIVER="" +PLIST_SUB+= RADEON_DRIVERS="" .else -PLIST_SUB+= X86="@comment " +PLIST_SUB+= INTEL_DRIVER="@comment" +PLIST_SUB+= RADEON_DRIVERS="@comment" .endif pre-patch: diff --git a/graphics/libdrm/pkg-plist b/graphics/libdrm/pkg-plist index 0462b7fbcdbc..4cdc099404b7 100644 --- a/graphics/libdrm/pkg-plist +++ b/graphics/libdrm/pkg-plist @@ -11,28 +11,28 @@ %%OLD%%include/drm/savage_drm.h %%OLD%%include/drm/sis_drm.h %%OLD%%include/drm/via_drm.h -%%OLD%%%%X86%%include/intel_bufmgr.h +%%OLD%%%%INTEL_DRIVER%%include/intel_bufmgr.h %%NEW%%include/libdrm/drm.h %%NEW%%include/libdrm/drm_fourcc.h %%NEW%%include/libdrm/drm_mode.h %%NEW%%include/libdrm/drm_sarea.h %%NEW%%include/libdrm/i915_drm.h -%%NEW%%%%X86%%include/libdrm/intel_bufmgr.h -%%NEW%%%%X86%%include/libdrm/intel_debug.h +%%NEW%%%%INTEL_DRIVER%%include/libdrm/intel_bufmgr.h +%%NEW%%%%INTEL_DRIVER%%include/libdrm/intel_debug.h %%NEW%%include/libdrm/mach64_drm.h %%NEW%%include/libdrm/mga_drm.h %%NEW%%include/libdrm/nouveau_drm.h %%NEW%%include/libdrm/nouveau_drmif.h %%NEW%%include/libdrm/r128_drm.h -%%NEW%%%%X86%%include/libdrm/r600_pci_ids.h -%%NEW%%%%X86%%include/libdrm/radeon_bo.h -%%NEW%%%%X86%%include/libdrm/radeon_bo_gem.h -%%NEW%%%%X86%%include/libdrm/radeon_bo_int.h -%%NEW%%%%X86%%include/libdrm/radeon_cs.h -%%NEW%%%%X86%%include/libdrm/radeon_cs_gem.h -%%NEW%%%%X86%%include/libdrm/radeon_cs_int.h +%%NEW%%%%RADEON_DRIVERS%%include/libdrm/r600_pci_ids.h +%%NEW%%%%RADEON_DRIVERS%%include/libdrm/radeon_bo.h +%%NEW%%%%RADEON_DRIVERS%%include/libdrm/radeon_bo_gem.h +%%NEW%%%%RADEON_DRIVERS%%include/libdrm/radeon_bo_int.h +%%NEW%%%%RADEON_DRIVERS%%include/libdrm/radeon_cs.h +%%NEW%%%%RADEON_DRIVERS%%include/libdrm/radeon_cs_gem.h +%%NEW%%%%RADEON_DRIVERS%%include/libdrm/radeon_cs_int.h %%NEW%%include/libdrm/radeon_drm.h -%%NEW%%%%X86%%include/libdrm/radeon_surface.h +%%NEW%%%%RADEON_DRIVERS%%include/libdrm/radeon_surface.h %%NEW%%include/libdrm/savage_drm.h %%NEW%%include/libdrm/sis_drm.h %%NEW%%include/libdrm/via_drm.h @@ -53,22 +53,22 @@ include/xf86drmMode.h lib/libdrm.la lib/libdrm.so lib/libdrm.so.2 -%%X86%%lib/libdrm_intel.la -%%X86%%lib/libdrm_intel.so -%%X86%%lib/libdrm_intel.so.1 +%%INTEL_DRIVER%%lib/libdrm_intel.la +%%INTEL_DRIVER%%lib/libdrm_intel.so +%%INTEL_DRIVER%%lib/libdrm_intel.so.1 lib/libdrm_nouveau.la lib/libdrm_nouveau.so lib/libdrm_nouveau.so.1 -%%NEW%%%%X86%%lib/libdrm_radeon.la -%%NEW%%%%X86%%lib/libdrm_radeon.so -%%NEW%%%%X86%%lib/libdrm_radeon.so.1 +%%NEW%%%%RADEON_DRIVERS%%lib/libdrm_radeon.la +%%NEW%%%%RADEON_DRIVERS%%lib/libdrm_radeon.so +%%NEW%%%%RADEON_DRIVERS%%lib/libdrm_radeon.so.1 %%NEW%%%%KMS%%lib/libkms.la %%NEW%%%%KMS%%lib/libkms.so %%NEW%%%%KMS%%lib/libkms.so.1 libdata/pkgconfig/libdrm.pc -%%X86%%libdata/pkgconfig/libdrm_intel.pc +%%INTEL_DRIVER%%libdata/pkgconfig/libdrm_intel.pc libdata/pkgconfig/libdrm_nouveau.pc -%%NEW%%%%X86%%libdata/pkgconfig/libdrm_radeon.pc +%%NEW%%%%RADEON_DRIVERS%%libdata/pkgconfig/libdrm_radeon.pc %%NEW%%%%KMS%%libdata/pkgconfig/libkms.pc @dirrm include/nouveau %%NEW%%%%KMS%%@dirrm include/libkms |