From 150a9fe0bdd6f857585611d6508fca9426d7d854 Mon Sep 17 00:00:00 2001 From: dinoex Date: Fri, 5 Mar 2004 13:08:09 +0000 Subject: - Fix package for non-i386 --- graphics/libggi/Makefile | 7 +++++++ graphics/libggi/pkg-plist | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'graphics') diff --git a/graphics/libggi/Makefile b/graphics/libggi/Makefile index 8e2c0e0fd85..ce3bdd4c661 100644 --- a/graphics/libggi/Makefile +++ b/graphics/libggi/Makefile @@ -102,6 +102,13 @@ MLINKS= ggiDBGetBuffer.3 ggiDBGetNumBuffers.3 \ .include +.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="" diff --git a/graphics/libggi/pkg-plist b/graphics/libggi/pkg-plist index bcc735dfee1..6edb5942e52 100644 --- a/graphics/libggi/pkg-plist +++ b/graphics/libggi/pkg-plist @@ -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 -- cgit