* use OPTIONS
* unbreak build with -DWITH_CHECK_LEAKS [PR 72754] PR: ports/72754 Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
This commit is contained in:
parent
2919df34f8
commit
c0b7f1d89c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123827
1 changed files with 8 additions and 7 deletions
|
@ -15,12 +15,12 @@ COMMENT= XML toolkit implementing XSLT 1.0, XPath 1.0 and DOM Level2
|
||||||
|
|
||||||
LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2
|
LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2
|
||||||
|
|
||||||
# If WITH_DISABLE_META is defined sablot will not output the META html tag
|
OPTIONS= DISABLE_META "Do not output the META html tag" off \
|
||||||
#WITH_DISABLE_META= yes
|
ICONV_TYPECAST "Use iconv typecast" off \
|
||||||
|
DOM "Use DOM" on \
|
||||||
# Define WITH_ICONV_TYPECAST to typecast the second parameter
|
DOCUMENT_ERRORS "Allow document errors" on \
|
||||||
# of iconv to char**
|
CHECK_LEAKS "Enable memory leaks checking" off \
|
||||||
#WITH_ICONV_TYPECAST= yes
|
DEBUGGER "Enable debugger" off
|
||||||
|
|
||||||
INSTALLS_SHLIB= yes
|
INSTALLS_SHLIB= yes
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ MAN1= sabcmd.1
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if defined(WITHOUT_ADDING_META)
|
.if defined(WITH_DISABLE_META)
|
||||||
CONFIGURE_ARGS+= --disable-adding-meta
|
CONFIGURE_ARGS+= --disable-adding-meta
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -73,6 +73,7 @@ post-patch:
|
||||||
@${PERL} -pi -e \
|
@${PERL} -pi -e \
|
||||||
's!(?<=libsablot_la_LDFLAGS = -version-info )(\d+):(\d+):\1!${SHLIB_MAJOR}:$$1:${SHLIB_MAJOR}!;' \
|
's!(?<=libsablot_la_LDFLAGS = -version-info )(\d+):(\d+):\1!${SHLIB_MAJOR}:$$1:${SHLIB_MAJOR}!;' \
|
||||||
${WRKSRC}/src/engine/Makefile.in
|
${WRKSRC}/src/engine/Makefile.in
|
||||||
|
@${PERL} -pi -e 's!se // !! if $$. = 407' ${WRKSRC}/src/engine/base.h
|
||||||
.if defined(NOPORTDOCS)
|
.if defined(NOPORTDOCS)
|
||||||
@${PERL} -pi -e 's!(?<=SUBDIRS = )(.*)!man!' ${WRKSRC}/doc/Makefile.in
|
@${PERL} -pi -e 's!(?<=SUBDIRS = )(.*)!man!' ${WRKSRC}/doc/Makefile.in
|
||||||
.endif
|
.endif
|
||||||
|
|
Loading…
Reference in a new issue