aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2017-10-22 18:31:28 +0800
committermadpilot <madpilot@FreeBSD.org>2017-10-22 18:31:28 +0800
commit0f5464616dc4d07440c65199885db92d7409385c (patch)
tree506793946cd7ca5070847d6f172f758fe1bead85 /multimedia
parentee509aac7bf263fbf4b869bfee385942f25a0622 (diff)
downloadfreebsd-ports-gnome-0f5464616dc4d07440c65199885db92d7409385c.tar.gz
freebsd-ports-gnome-0f5464616dc4d07440c65199885db92d7409385c.tar.zst
freebsd-ports-gnome-0f5464616dc4d07440c65199885db92d7409385c.zip
- WITH_DEBUG=yes is set by the infrastructure when the DEBUG option
is enabled, so don't do that here [1] - Also make the port enables the DEBUG option when WITH_DEBUG is defined so full debug is enabled. Reported by: jbeich [1]
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libvdpau/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/libvdpau/Makefile b/multimedia/libvdpau/Makefile
index c644aab61ff8..c4dd39d64845 100644
--- a/multimedia/libvdpau/Makefile
+++ b/multimedia/libvdpau/Makefile
@@ -20,8 +20,11 @@ INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DEBUG
+.ifdef WITH_DEBUG
+OPTIONS_DEFAULT= DEBUG
+.endif
+
DEBUG_CFLAGS= -D_DEBUG
-DEBUG_VARS= WITH_DEBUG=yes
DEBUG_CFLAGS_OFF= -DNDEBUG
post-patch: .SILENT