aboutsummaryrefslogtreecommitdiff
path: root/x11-servers/xorg-server/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-servers/xorg-server/Makefile')
-rw-r--r--x11-servers/xorg-server/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/x11-servers/xorg-server/Makefile b/x11-servers/xorg-server/Makefile
index ac6e6fe5202e..5057edfe12ab 100644
--- a/x11-servers/xorg-server/Makefile
+++ b/x11-servers/xorg-server/Makefile
@@ -113,6 +113,14 @@ CONFIGURE_ARGS+=--enable-install-setuid=yes
CONFIGURE_ARGS+=--enable-install-setuid=no
.endif
+.if ${ARCH} == i386
+.if defined(WITH_NEW_XORG)
+EXTRA_PATCHES+= ${FILESDIR}/extra-new-arch-i386
+.else
+EXTRA_PATCHES+= ${FILESDIR}/extra-old-arch-i386
+.endif
+.endif
+
.if ${ARCH} == ia64
PLIST_SUB+= IA64_NA="@comment "
EXTRA_PATCHES= ${.CURDIR}/files/extra-arch-ia64