Skip to content

Commit

Permalink
emulators/wine-devel: Improve configuration for ALSA and OSS
Browse files Browse the repository at this point in the history
Use ALSA_CONFIGURE_WITH and OSS_CONFIGURE_WITH instead of the
ALSA_CONFIGURE_ON and OSS_CONFIGURE_ON forms.

This properly handles the case where neither the ALSA nor OSS option
are set. It's more resilient to future changes. And shorter.

PR:		273987
  • Loading branch information
Gerald Pfeifer authored and Gerald Pfeifer committed Oct 16, 2023
1 parent ec38262 commit 944eff5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions emulators/wine-devel/Makefile
Expand Up @@ -80,7 +80,7 @@ WINEMAKER_DESC= Fully support winemaker (requires Perl)
GECKO_DESC= Bundle Gecko MSI package for Wine
MONO_DESC= Bundle Mono MSI package for Wine

ALSA_CONFIGURE_ON= --with-alsa --without-oss
ALSA_CONFIGURE_WITH= alsa
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ALSA_RUN_DEPENDS= alsa-plugins>0:audio/alsa-plugins

Expand All @@ -96,7 +96,7 @@ GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls

MONO_RUN_DEPENDS= wine-mono-devel>0:emulators/wine-mono-devel

OSS_CONFIGURE_ON= --without-alsa --with-oss
OSS_CONFIGURE_WITH= oss

V4L_CONFIGURE_WITH= v4l2
V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
Expand Down

0 comments on commit 944eff5

Please sign in to comment.