mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Add DEBUG option
PR: ports/169844 Submitted by: Fabian Keil <fk@fabiankeil.de>
This commit is contained in:
parent
01832fabe1
commit
5691b121ce
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=301824
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user