summaryrefslogtreecommitdiff
path: root/emulators/bochs/Makefile
diff options
context:
space:
mode:
authormishka <mishka@pkgsrc.org>2009-05-25 12:54:48 +0000
committermishka <mishka@pkgsrc.org>2009-05-25 12:54:48 +0000
commiteed6246f37fdd69cfb62b53a96af897fd3ff0ea7 (patch)
tree4fe1e26e4d2c3ea1a5c052b1fef2b7af8832b0ed /emulators/bochs/Makefile
parentfbca3a9931b23bbda0a9351d54aa481f51c99850 (diff)
downloadpkgsrc-eed6246f37fdd69cfb62b53a96af897fd3ff0ea7.tar.gz
Fix package build caused by improper PLIST generation due to x11 options.
Diffstat (limited to 'emulators/bochs/Makefile')
-rw-r--r--emulators/bochs/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/emulators/bochs/Makefile b/emulators/bochs/Makefile
index d718cd1419c..94178e4a739 100644
--- a/emulators/bochs/Makefile
+++ b/emulators/bochs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2009/03/20 17:17:48 mishka Exp $
+# $NetBSD: Makefile,v 1.58 2009/05/25 12:54:48 mishka Exp $
DISTNAME= bochs-2.3.7
PKGREVISION= 3
@@ -22,13 +22,12 @@ CXXFLAGS+= -DPARANOID
CONFIGURE_ARGS+= --enable-cdrom
CONFIGURE_ARGS+= --enable-ne2000
-CONFIGURE_ARGS+= --with-nogui
MAKE_ENV+= GZIP_CMD=${GZIP_CMD:Q}
MAKE_ENV+= GUNZIP_CMD=${GUNZIP_CMD:Q}
MAKE_ENV+= WGET=${FETCH_CMD:Q}
-PLIST_VARS+= notiny
+PLIST_VARS+= notiny nox11 x11
PKG_OPTIONS_VAR= PKG_OPTIONS.bochs
PKG_SUPPORTED_OPTIONS+= debug tiny x11
@@ -101,9 +100,12 @@ CONFIGURE_ARGS+= --enable-sb16=dummy
.endif
.if empty(PKG_OPTIONS:Mx11)
+PLIST.nox11= yes
CONFIGURE_ARGS+= --without-x
CONFIGURE_ARGS+= --without-x11
CONFIGURE_ARGS+= --with-term
+.else
+PLIST.x11= yes
.endif
.if ${OPSYS} == "Linux"