From 5cdad3f7e074be8970a5faceba2695125b0f44f1 Mon Sep 17 00:00:00 2001 From: Joseph Koshy Date: Wed, 28 Feb 2001 09:31:18 +0000 Subject: Do not install SVGAlib support unless the user asks for it. PR: ports/24896 Submitted by: Ilya Martynov --- graphics/xaos/Makefile | 6 ++++++ graphics/xaos/files/patch-ai | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 graphics/xaos/files/patch-ai (limited to 'graphics/xaos') diff --git a/graphics/xaos/Makefile b/graphics/xaos/Makefile index de90b0015f60..d2197f1f9429 100644 --- a/graphics/xaos/Makefile +++ b/graphics/xaos/Makefile @@ -17,6 +17,9 @@ DISTNAME= XaoS-${PORTVERSION} MAINTAINER= jkoshy@freebsd.org LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png +.if defined(WITH_SVGALIB) +LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib +.endif USE_XLIB= yes @@ -24,6 +27,9 @@ USE_XLIB= yes GNU_CONFIGURE= yes CONFIGURE_ENV= LDFLAGS=-L${LOCALBASE}/lib +.if !defined(WITH_SVGALIB) +CONFIGURE_ARGS= --with-svga-driver=no +.endif CFLAGS= -DHAVE_SYS_PARAM_H \ -I${PREFIX}/include \ diff --git a/graphics/xaos/files/patch-ai b/graphics/xaos/files/patch-ai new file mode 100644 index 000000000000..58ced0917560 --- /dev/null +++ b/graphics/xaos/files/patch-ai @@ -0,0 +1,11 @@ +--- configure-- Thu Mar 5 03:19:12 1998 ++++ configure Wed Feb 28 14:20:17 2001 +@@ -5522,7 +5522,7 @@ + #define SVGA_DRIVER 1 + EOF + +- STICKY='chmod +s $(bindir)/xaos; chown root $(bindir)/xaos; chgrp root $(bindir)/xaos' ++ STICKY='chmod +s $(bindir)/xaos; chown root $(bindir)/xaos; chgrp wheel $(bindir)/xaos' + DRIVERDIRS="$DRIVERDIRS ui/ui-drv/svga" + DRIVERLIBS="$DRIVERLIBS lib/libuisvga.a" + if test "x$ac_cv_func_pthread_sighandler" = xyes; then -- cgit v1.2.3