summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/xmlto/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/textproc/xmlto/Makefile b/textproc/xmlto/Makefile
index 8cae5acc8c47..671efccdc72a 100644
--- a/textproc/xmlto/Makefile
+++ b/textproc/xmlto/Makefile
@@ -43,9 +43,11 @@ XSL_DIR= ${LOCALBASE}/share/xsl/docbook
MAN1= xmlif.1 xmlto.1
DOCS= AUTHORS NEWS
-.if !defined(WITH_PASSIVETEX)
post-patch:
- ${REINPLACE_CMD} -e '/format\/fo\//d' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|-a|-PpR|' \
+ ${WRKSRC}/format/docbook/man
+.if !defined(WITH_PASSIVETEX)
+ @${REINPLACE_CMD} -e '/format\/fo\//d' ${WRKSRC}/Makefile.in
.endif
post-build: