From b2dcd7927c415db235d12ae921d35c3e57779584 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Tue, 3 Mar 2020 12:56:15 +0000 Subject: Ports MUST NOT set WITH_DEBUG. WITH_DEBUG is a user facing variable. When a user wants to build a port with debugging symbols enabled, they either set WITH_DEBUG globally, or WITH_DEBUG_PORTS+=category/port. Approved by: bapt With hat: portmgr Differential Revision: https://reviews.freebsd.org/D23940 --- multimedia/mplayer/Makefile | 2 +- multimedia/mplayer/Makefile.options | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'multimedia/mplayer') diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile index ab635d4265ef..1c73eaaa37ee 100644 --- a/multimedia/mplayer/Makefile +++ b/multimedia/mplayer/Makefile @@ -10,7 +10,7 @@ COMMENT= High performance media player supporting many formats .include "${.CURDIR}/../../multimedia/mplayer/Makefile.common" -OPTIONS_DEFINE= AALIB AMR_NB AMR_WB ASS BLURAY CACA CDIO DEBUG DV DVDNAV \ +OPTIONS_DEFINE= AALIB AMR_NB AMR_WB ASS BLURAY CACA CDIO DV DVDNAV \ ENCA FONTCONFIG FRIBIDI GIF GNUTLS GSM GUI IPV6 JACK \ LADSPA LIBMNG LIRC LZO NAS OPENAL OPENGL \ OPENJPEG OPUS PULSEAUDIO RTMP \ diff --git a/multimedia/mplayer/Makefile.options b/multimedia/mplayer/Makefile.options index dd223b65618c..6bd4437c02fa 100644 --- a/multimedia/mplayer/Makefile.options +++ b/multimedia/mplayer/Makefile.options @@ -56,8 +56,7 @@ LDFLAGS_i386+= -Wl,-z,notext # Extra build options for debugging # ================================= -.if ${PORT_OPTIONS:MDEBUG} -WITH_DEBUG= yes +.if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug=3 .endif -- cgit v1.2.3