mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- validate xml
PR: 168768 Submitted by: Virgil Champlin
This commit is contained in:
parent
5b6492716a
commit
d6ba2d98d9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299334
@ -25,7 +25,8 @@ USE_LDCONFIG= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
BUILD_DEPENDS+= xmlto:${PORTSDIR}/textproc/xmlto
|
||||
BUILD_DEPENDS+= xmlto:${PORTSDIR}/textproc/xmlto \
|
||||
${LOCALBASE}/share/xml/docbook/4.1.2:${PORTSDIR}/textproc/docbook-sk
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_X11)
|
||||
@ -40,8 +41,6 @@ CPPFLAGS+= -I${LOCALBASE}/include
|
||||
|
||||
post-patch:
|
||||
${CP} ${FILESDIR}/quantize.c ${WRKSRC}/lib/
|
||||
${REINPLACE_CMD} -e 's|xmlto |xmlto --skip-validation |' \
|
||||
${WRKSRC}/doc/Makefile.in
|
||||
.if defined(NOPORTDOCS)
|
||||
${REINPLACE_CMD} -e 's|SUBDIRS = lib util doc pic|SUBDIRS = lib util pic|' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
Loading…
Reference in New Issue
Block a user