aboutsummaryrefslogtreecommitdiff
path: root/emulators/wine-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/wine-devel/Makefile')
-rw-r--r--emulators/wine-devel/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile
index a73f261649e8..8a8171f8576b 100644
--- a/emulators/wine-devel/Makefile
+++ b/emulators/wine-devel/Makefile
@@ -53,6 +53,9 @@ WINEMAKER_DESC= Fully support winemaker (requires Perl)
GECKO_DESC= Bundle Gecko MSI package for Wine
MONO_DESC= Bundle Mono MSI package for Wine
+# USES needs to be before bsd.port.pre.mk
+OPENAL_USES= openal
+
PORTDATA= l_intl.nls wine.inf
.include <bsd.port.pre.mk>
@@ -98,7 +101,6 @@ CONFIGURE_ARGS+= --without-xslt
.if ${PORT_OPTIONS:MOPENAL}
CONFIGURE_ARGS+= --with-openal
-USE_OPENAL= yes
.else
CONFIGURE_ARGS+= --without-openal
.endif