aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-03-05 21:08:09 +0800
committerdinoex <dinoex@FreeBSD.org>2004-03-05 21:08:09 +0800
commit150a9fe0bdd6f857585611d6508fca9426d7d854 (patch)
tree081f5639185cb633678e7a2d7e359613579254fc
parent7a3858dba08e2c0b48d37613850763ba137d54c1 (diff)
downloadfreebsd-ports-gnome-150a9fe0bdd6f857585611d6508fca9426d7d854.tar.gz
freebsd-ports-gnome-150a9fe0bdd6f857585611d6508fca9426d7d854.tar.zst
freebsd-ports-gnome-150a9fe0bdd6f857585611d6508fca9426d7d854.zip
- Fix package for non-i386
-rw-r--r--graphics/libggi/Makefile7
-rw-r--r--graphics/libggi/pkg-plist4
2 files changed, 9 insertions, 2 deletions
diff --git a/graphics/libggi/Makefile b/graphics/libggi/Makefile
index 8e2c0e0fd852..ce3bdd4c6615 100644
--- a/graphics/libggi/Makefile
+++ b/graphics/libggi/Makefile
@@ -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=""
diff --git a/graphics/libggi/pkg-plist b/graphics/libggi/pkg-plist
index bcc735dfee16..6edb5942e523 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