summaryrefslogtreecommitdiff
path: root/emulators/wine/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/wine/options.mk')
-rw-r--r--emulators/wine/options.mk12
1 files changed, 9 insertions, 3 deletions
diff --git a/emulators/wine/options.mk b/emulators/wine/options.mk
index e153e6a501d..9841452b1dc 100644
--- a/emulators/wine/options.mk
+++ b/emulators/wine/options.mk
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.10 2008/06/23 16:57:08 dholland Exp $
+# $NetBSD: options.mk,v 1.11 2008/12/07 15:31:57 jmcneill Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.wine
-PKG_SUPPORTED_OPTIONS= cups opengl sane esound ldap dbus ssl x11
-PKG_SUGGESTED_OPTIONS= opengl esound ldap dbus ssl x11
+PKG_SUPPORTED_OPTIONS= cups opengl sane esound ldap dbus hal ssl x11
+PKG_SUGGESTED_OPTIONS= opengl esound ldap dbus hal ssl x11
.include "../../mk/bsd.options.mk"
@@ -24,6 +24,12 @@ CONFIGURE_ARGS+= --without-ldap
CONFIGURE_ARGS+= --without-dbus
.endif
+.if !empty(PKG_OPTIONS:Mhal)
+.include "../../sysutils/hal/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-hal
+.endif
+
.if !empty(PKG_OPTIONS:Mssl)
.include "../../security/openssl/buildlink3.mk"
.else