1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- Fix package for non-i386

This commit is contained in:
Dirk Meyer 2004-03-05 13:08:09 +00:00
parent fcd089c185
commit 2c2523234f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103011
2 changed files with 9 additions and 2 deletions

View File

@ -102,6 +102,13 @@ MLINKS= ggiDBGetBuffer.3 ggiDBGetNumBuffers.3 \
.include <bsd.port.pre.mk>
.if !exists(/usr/include/vgl.h) || ${MACHINE_ARCH} != "i386"
CONFIGURE_ARGS+= --disable-vgl
PLIST_SUB+= WITH_VGL="@comment "
.else
PLIST_SUB+= WITH_VGL=""
.endif
.if defined(WITH_AALIB) || exists(${LOCALBASE}/include/aalib.h)
LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib
PLIST_SUB+= WITH_AALIB=""

View File

@ -109,8 +109,8 @@ lib/ggi/display/trueemu.la
lib/ggi/display/trueemu.so
%%WITH_SVGALIB%%lib/ggi/display/vgagl.la
%%WITH_SVGALIB%%lib/ggi/display/vgagl.so
lib/ggi/display/vgl.la
lib/ggi/display/vgl.so
%%WITH_VGL%%lib/ggi/display/vgl.la
%%WITH_VGL%%lib/ggi/display/vgl.so
lib/ggi/display/xf86dga.la
lib/ggi/display/xf86dga.so
lib/ggi/helper/helper_x_dbe.la