svn commit: r378650 - head/audio/adplay

Baptiste Daroussin bapt at FreeBSD.org
Sun Feb 8 12:44:08 UTC 2015


Author: bapt
Date: Sun Feb  8 12:44:07 2015
New Revision: 378650
URL: https://svnweb.freebsd.org/changeset/ports/378650
QAT: https://qat.redports.org/buildarchive/r378650/

Log:
  Use options helpers

Modified:
  head/audio/adplay/Makefile

Modified: head/audio/adplay/Makefile
==============================================================================
--- head/audio/adplay/Makefile	Sun Feb  8 12:41:49 2015	(r378649)
+++ head/audio/adplay/Makefile	Sun Feb  8 12:44:07 2015	(r378650)
@@ -33,14 +33,8 @@ CONFIGURE_ARGS+=	--sharedstatedir=${DATA
 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


More information about the svn-ports-head mailing list