summaryrefslogtreecommitdiff
path: root/multimedia/mplayer
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2020-03-03 12:56:15 +0000
committerMathieu Arnold <mat@FreeBSD.org>2020-03-03 12:56:15 +0000
commitb2dcd7927c415db235d12ae921d35c3e57779584 (patch)
tree9b47606be4df16d47655e2b06e949876ce23056c /multimedia/mplayer
parentdatabases/tcl-lmdb: update to 0.4.1 (diff)
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
Notes
Notes: svn path=/head/; revision=527673
Diffstat (limited to 'multimedia/mplayer')
-rw-r--r--multimedia/mplayer/Makefile2
-rw-r--r--multimedia/mplayer/Makefile.options3
2 files changed, 2 insertions, 3 deletions
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