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:
parent
c958561a3b
commit
8fb6284491
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378650
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user