summaryrefslogtreecommitdiff
path: root/x11/XFree86/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/XFree86/Makefile')
-rw-r--r--x11/XFree86/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/x11/XFree86/Makefile b/x11/XFree86/Makefile
index b0fcca22111d..f4b801df1362 100644
--- a/x11/XFree86/Makefile
+++ b/x11/XFree86/Makefile
@@ -25,7 +25,6 @@ PATCHFILES= fix-01-r128
MAINTAINER= jmz@FreeBSD.org
WRKSRC= ${WRKDIR}/${DIST_SUBDIR}
-IS_INTERACTIVE= yes # configure script asks questions
INSTALLS_SHLIB= yes
.if (${MACHINE} != "alpha")
#NO_PACKAGE= package available from XFree86
@@ -71,9 +70,17 @@ pre-fetch:
post-extract:
@${MV} ${WRKSRC}/programs/Xserver/hw/xfree86/vga256/drivers/i810/os-support/linux/agpgart.h ${WRKSRC}/programs/Xserver/hw/xfree86/vga256/drivers/i810/
+ @if [ -r ${FILESDIR}/config ]; then \
+ ${ECHO} Using your existing ${FILESDIR}/config ; \
+ ${CP} ${FILESDIR}/config ${WRKDIR}/config ; \
+ fi
.include <bsd.port.pre.mk>
+.if !exists(${FILESDIR}/config)
+IS_INTERACTIVE= yes # configure script asks questions
+.endif
+
pre-install:
${MKDIR} ${X11BASE}