The xorg-server port includes a file ppc_video.c which required a patch for FreeBSD as detailed in PR ports/118851. This patch should be applied to all PowerPC builds. When building xorg-server-1.7.5,1 for powerpc64, a compilation error and subsequent linking error occurs in that file, halting the build. The Makefile applies the patch only when ARCH==powerpc, but it should apply the patch when (ARCH==powerpc || ARCH==powerpc64). Fix: In the Makefile, change the first line of the following code fragment .if ${ARCH} == powerpc PLIST_SUB+= PPC_NA="@comment " MAN4+= nv.4x EXTRA_PATCHES= ${.CURDIR}/files/extra-arch-powerpc .else PLIST_SUB+= PPC_NA="" .endif to instead be .if ${ARCH} == powerpc || ${ARCH} == powerpc64 How-To-Repeat: cd /usr/ports/x11-servers/xorg-server && make install clean
Responsible Changed From-To: freebsd-ports-bugs->x11 Over to maintainers
Responsible Changed From-To: x11->freebsd-x11 Canonicalize assignment.
stas 2011-01-25 01:53:11 UTC FreeBSD ports repository Modified files: x11-servers/xorg-server Makefile Log: - Fix build on powerpc64. PR: ports/147568, ports/153644 Submitted by: nwhitehorn, Matthew Rezny <mrezny@hexaneinc.com> Feature safe: yes Revision Changes Path 1.77 +1 -1 ports/x11-servers/xorg-server/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!