1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Use options helpers

This commit is contained in:
Baptiste Daroussin 2015-02-08 12:44:07 +00:00
parent c958561a3b
commit 8fb6284491
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378650

View File

@ -33,14 +33,8 @@ CONFIGURE_ARGS+= --sharedstatedir=${DATADIR}
PLIST_FILES= bin/adplay %%DATADIR%%/adplug.db man/man1/adplay.1.gz
OPTIONS_DEFINE= SDL
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSDL}
USE_SDL= sdl mixer
.else
CONFIGURE_ARGS+= --disable-output-sdl
.endif
SDL_CONFIGURE_OFF= --disable-output-sdl
SDL_USE= SDL=sdl SDL=mixer
post-patch:
@${REINPLACE_CMD} -e 's/-lstdc++//g' ${WRKSRC}/configure