Even no DOC selected syslog-ng (syslog-ng37) install textproc/docbook-xsl textproc/docbook textproc/docbook-sgml textproc/iso8879 textproc/xmlcatmgr textproc/docbook-xml textproc/xmlcharent textproc/sdocbook-xml textproc/libxslt Correct way: not install that packages wih no DOC flag selected.
Try this: CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ - OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \ - --with-docbook-dir=${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl + OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" +.if ${PORT_OPTIONS:MDOCS} +CONFIGURE_ARGS+= --with-docbook-dir=${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl +.else +CONFIGURE_ARGS+= -without-dockbook-dir +.endif (should work, but I wan't test it. I would deinstall to many dependencies if I deinstall docbook*)
Copy if ${PORT_OPTIONS:MDOCS} .... after .include <bsd.port.options.mk> in the Makefile
(In reply to w.schwarzenfeld from comment #2) Yes. That is the correct fix.
Fixed.
A commit references this bug: Author: cy Date: Sat May 14 18:12:00 UTC 2016 New revision: 415194 URL: https://svnweb.freebsd.org/changeset/ports/415194 Log: Don't depend on textproc/libxslt and textproc/docbook-xsl when DOC not selected. PR: 209483 Changes: head/sysutils/syslog-ng37/Makefile