aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libxine
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2011-07-02 01:51:38 +0800
committernox <nox@FreeBSD.org>2011-07-02 01:51:38 +0800
commitb986090a94cc1ee643971e4514357151c9565e90 (patch)
treea36a4087e71319df7acf3da1d2a4be82350e2080 /multimedia/libxine
parent89529a475694e4ecf7501691f064d7302017faf6 (diff)
downloadfreebsd-ports-graphics-b986090a94cc1ee643971e4514357151c9565e90.tar.gz
freebsd-ports-graphics-b986090a94cc1ee643971e4514357151c9565e90.tar.zst
freebsd-ports-graphics-b986090a94cc1ee643971e4514357151c9565e90.zip
Fix build WITH_DEBUG.
PR: ports/151886 Submitted by: Jim Ballantine <j.ballantine@gmail.com>
Diffstat (limited to 'multimedia/libxine')
-rw-r--r--multimedia/libxine/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/multimedia/libxine/Makefile b/multimedia/libxine/Makefile
index c192ad194d5..43301bfc0af 100644
--- a/multimedia/libxine/Makefile
+++ b/multimedia/libxine/Makefile
@@ -97,6 +97,11 @@ PATCH_DIST_ARGS= -d ${WRKSRC} -p1 --forward --quiet
.include <bsd.port.options.mk>
+# Fix build WITH_DEBUG
+.if defined(WITH_DEBUG)
+DEBUG_FLAGS= -g -O1
+.endif
+
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""