aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libvdpau
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2017-10-22 10:31:28 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2017-10-22 10:31:28 +0000
commit9835d83a66626fc797705f844b11a786509062e5 (patch)
tree506793946cd7ca5070847d6f172f758fe1bead85 /multimedia/libvdpau
parent45e3d980c458ced90c5640a98f0f7726ec80a845 (diff)
downloadports-9835d83a66626fc797705f844b11a786509062e5.tar.gz
ports-9835d83a66626fc797705f844b11a786509062e5.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]
Notes
Notes: svn path=/head/; revision=452632
Diffstat (limited to 'multimedia/libvdpau')
-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