ports/184957: [patch] fid dri, libdrm for powerpc
Andreas Tobler
andreast at FreeBSD.org
Wed Dec 18 08:10:00 UTC 2013
>Number: 184957
>Category: ports
>Synopsis: [patch] fid dri, libdrm for powerpc
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 18 08:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Andreas Tobler
>Release: -CURRENT
>Organization:
none
>Environment:
FreeBSD tritium.andreas.nets 11.0-CURRENT FreeBSD 11.0-CURRENT #14 r259527M: Wed Dec 18 02:02:50 CET 2013 andreast at tritium.andreas.nets:/export/build/obj/export/devel/fbsd/src/sys/GENERIC64_OPT powerpc
>Description:
The attached patches fixes the build for graphics/dri and graphics/libdrm on powerpc64 and powerpc.
This is with WITH_NEW_XORG="YES".
Build completed on powerpc64 and powerpc
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: graphics/libdrm/Makefile
===================================================================
--- graphics/libdrm/Makefile (revision 336800)
+++ graphics/libdrm/Makefile (working copy)
@@ -65,9 +65,12 @@
PLIST_SUB+= OLD="" NEW="@comment " NOUVEAU=""
.endif
-.if ${ARCH} == "amd64" || ${ARCH} == "i386" || ${ARCH} == "ia64" || ${ARCH} == "powerpc"
+.if ${ARCH} == "amd64" || ${ARCH} == "i386" || ${ARCH} == "ia64"
PLIST_SUB+= INTEL_DRIVER=""
PLIST_SUB+= RADEON_DRIVERS=""
+.elif ${ARCH} == "powerpc64" || ${ARCH} == "powerpc"
+PLIST_SUB+= INTEL_DRIVER="@comment "
+PLIST_SUB+= RADEON_DRIVERS=""
.else
PLIST_SUB+= INTEL_DRIVER="@comment "
PLIST_SUB+= RADEON_DRIVERS="@comment "
Index: graphics/dri/Makefile
===================================================================
--- graphics/dri/Makefile (revision 336800)
+++ graphics/dri/Makefile (working copy)
@@ -58,7 +58,7 @@
CONFIGURE_ARGS+=--enable-gallium-llvm=no --without-gallium-drivers
PLIST_SUB+= GALLIUM="@comment "
. endif
-. if ${ARCH} == powerpc
+. if ${ARCH} == powerpc64 || ${ARCH} == powerpc
DRI_DRIVERS= RADEON SWRAST
. endif
. if ${ARCH} == sparc64
@@ -65,7 +65,7 @@
DRI_DRIVERS= SWRAST
. endif
.else # !defined(WITH_NEW_XORG)
-. if ${ARCH} == powerpc
+. if ${ARCH} == powerpc64 || ${ARCH} == powerpc
DRI_DRIVERS= MACH64 RADEON SWRAST TDFX
. elif ${ARCH} == sparc64
DRI_DRIVERS= MACH64 RADEON SWRAST
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list