aboutsummaryrefslogtreecommitdiff
path: root/audio/adplay
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-02-08 12:44:07 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-02-08 12:44:07 +0000
commit8fb6284491985c59dbc05461932c225a0ecb6b8b (patch)
treef13e3158eb4135926fdfaa97781d5446af8bc583 /audio/adplay
parentc958561a3b28326148e939423552605ac843b066 (diff)
downloadports-8fb6284491985c59dbc05461932c225a0ecb6b8b.tar.gz
ports-8fb6284491985c59dbc05461932c225a0ecb6b8b.zip
Use options helpers
Notes
Notes: svn path=/head/; revision=378650
Diffstat (limited to 'audio/adplay')
-rw-r--r--audio/adplay/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/audio/adplay/Makefile b/audio/adplay/Makefile
index 12a2d48c6db8..4a1a06ef632b 100644
--- a/audio/adplay/Makefile
+++ b/audio/adplay/Makefile
@@ -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