svn commit: r452632 - head/multimedia/libvdpau

Guido Falsi madpilot at FreeBSD.org
Sun Oct 22 10:31:29 UTC 2017


Author: madpilot
Date: Sun Oct 22 10:31:28 2017
New Revision: 452632
URL: https://svnweb.freebsd.org/changeset/ports/452632

Log:
  - 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]

Modified:
  head/multimedia/libvdpau/Makefile

Modified: head/multimedia/libvdpau/Makefile
==============================================================================
--- head/multimedia/libvdpau/Makefile	Sun Oct 22 10:31:00 2017	(r452631)
+++ head/multimedia/libvdpau/Makefile	Sun Oct 22 10:31:28 2017	(r452632)
@@ -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


More information about the svn-ports-all mailing list