Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Aug 2012 12:17:42 +0000 (UTC)
From:      Ganael LAPLANCHE <martymac@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r301824 - head/multimedia/libdvdread
Message-ID:  <201208011217.q71CHg4P052530@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: martymac
Date: Wed Aug  1 12:17:42 2012
New Revision: 301824
URL: http://svn.freebsd.org/changeset/ports/301824

Log:
  Add DEBUG option
  
  PR:		ports/169844
  Submitted by:	Fabian Keil <fk@fabiankeil.de>

Modified:
  head/multimedia/libdvdread/Makefile

Modified: head/multimedia/libdvdread/Makefile
==============================================================================
--- head/multimedia/libdvdread/Makefile	Wed Aug  1 12:10:40 2012	(r301823)
+++ head/multimedia/libdvdread/Makefile	Wed Aug  1 12:17:42 2012	(r301824)
@@ -7,7 +7,7 @@
 
 PORTNAME=	libdvdread
 PORTVERSION=	4.2.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	multimedia
 # Svn repository URL : svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread
 MASTER_SITES=	http://dvdnav.mplayerhq.hu/releases/ \
@@ -28,12 +28,11 @@ CONFIGURE_ARGS=	--prefix="${PREFIX}" \
 		--shlibdir="${PREFIX}/lib" \
 		--incdir="${PREFIX}/include/dvdread" \
 		--disable-opts \
-		--disable-debug \
 		--cc="${CC}"
 USE_GMAKE=	yes
 USE_LDCONFIG=	yes
 
-OPTIONS_DEFINE=	DVDCSS
+OPTIONS_DEFINE=	DVDCSS DEBUG
 .if !defined(PACKAGE_BUILDING)
 OPTIONS_DEFAULT=	DVDCSS
 .endif
@@ -47,6 +46,12 @@ DVDCSS_LIBVERSION=	3
 LIB_DEPENDS+=	dvdcss:${PORTSDIR}/multimedia/libdvdcss
 .endif
 
+.if ${PORT_OPTIONS:MDEBUG}
+CONFIGURE_ARGS+=	--enable-debug --disable-strip
+.else
+CONFIGURE_ARGS+=	--disable-debug
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|-ldl ||g' \
 		${WRKSRC}/Makefile



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208011217.q71CHg4P052530>