1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Do not install SVGAlib support unless the user asks for it.

PR:		ports/24896
Submitted by:	Ilya Martynov <ilya@martynov.org>
This commit is contained in:
Joseph Koshy 2001-02-28 09:31:18 +00:00
parent 04bdd91748
commit 5cdad3f7e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38881
2 changed files with 17 additions and 0 deletions

View File

@ -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 \

View File

@ -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