summaryrefslogtreecommitdiff
path: root/graphics/xaos
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2001-02-28 09:31:18 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2001-02-28 09:31:18 +0000
commit5cdad3f7e074be8970a5faceba2695125b0f44f1 (patch)
tree3f6cf31a5fa24a4c0b9c26b4f45759bacfa0eade /graphics/xaos
parentChange a dependency: teTeX is required for building, not just (diff)
Do not install SVGAlib support unless the user asks for it.
PR: ports/24896 Submitted by: Ilya Martynov <ilya@martynov.org>
Notes
Notes: svn path=/head/; revision=38881
Diffstat (limited to 'graphics/xaos')
-rw-r--r--graphics/xaos/Makefile6
-rw-r--r--graphics/xaos/files/patch-ai11
2 files changed, 17 insertions, 0 deletions
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