From owner-svn-ports-all@FreeBSD.ORG Wed Aug 1 12:17:43 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F4A51065673; Wed, 1 Aug 2012 12:17:43 +0000 (UTC) (envelope-from martymac@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id EDDEE8FC18; Wed, 1 Aug 2012 12:17:42 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q71CHgLo052532; Wed, 1 Aug 2012 12:17:42 GMT (envelope-from martymac@svn.freebsd.org) Received: (from martymac@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q71CHg4P052530; Wed, 1 Aug 2012 12:17:42 GMT (envelope-from martymac@svn.freebsd.org) Message-Id: <201208011217.q71CHg4P052530@svn.freebsd.org> From: Ganael LAPLANCHE Date: Wed, 1 Aug 2012 12:17:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r301824 - head/multimedia/libdvdread X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2012 12:17:43 -0000 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 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