games/exult: Fix SDL1 and SDL2 options

There is no opt_CONFIGURE_ARGS helper.  Change it to opt_CONFIGURE_ON.
Without this and with both SDL 1.2 and SDL 2 installed in the build
environment it would always pick SDL 1.2 otherwise.  Always broken
since r418018.
This commit is contained in:
Tobias Kortkamp 2019-05-26 05:32:39 +00:00
parent 1845ea0390
commit d1bc7b4a0b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=502689

View File

@ -3,7 +3,7 @@
PORTNAME= exult
PORTVERSION= 1.5.0.20160514
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= games
MAINTAINER= ports@FreeBSD.org
@ -44,10 +44,10 @@ GIMP_LIB_DEPENDS= libgimp-2.0.so:graphics/gimp-app
GIMP_CONFIGURE_ENABLE= gimp-plugin
SDL1_DESC= Simple Direct Media Layer 1 support
SDL1_USE= sdl=mixer
SDL1_CONFIGURE_ARGS= --with-sdl=sdl12
SDL1_CONFIGURE_ON= --with-sdl=sdl12
SDL2_DESC= Simple Direct Media Layer 2 support
SDL2_USE= sdl=mixer2
SDL2_CONFIGURE_ARGS= --with-sdl=sdl2
SDL2_CONFIGURE_ON= --with-sdl=sdl2
STUDIO_DESC= Install Exult Studio
STUDIO_CONFIGURE_ENABLE=\
exult-studio exult-studio-support