aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2016-05-15 02:11:59 +0800
committercy <cy@FreeBSD.org>2016-05-15 02:11:59 +0800
commit0b171aa0cf9edc41cf5881c6f64cd2a6294e995c (patch)
tree0be3a91135e176ddd7f1e02a2aa093b6e6d67736
parentbb71c26fe484e1f6d71729feb3134b7e24c63abe (diff)
downloadfreebsd-ports-gnome-0b171aa0cf9edc41cf5881c6f64cd2a6294e995c.tar.gz
freebsd-ports-gnome-0b171aa0cf9edc41cf5881c6f64cd2a6294e995c.tar.zst
freebsd-ports-gnome-0b171aa0cf9edc41cf5881c6f64cd2a6294e995c.zip
Don't depend on textproc/libxslt and textproc/docbook-xsl when DOC not
selected. PR: 209483
-rw-r--r--sysutils/syslog-ng37/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysutils/syslog-ng37/Makefile b/sysutils/syslog-ng37/Makefile
index 0b2b09633628..03ca379987f4 100644
--- a/sysutils/syslog-ng37/Makefile
+++ b/sysutils/syslog-ng37/Makefile
@@ -3,7 +3,7 @@
PORTNAME= syslog-ng
PORTVERSION= 3.7.3
-PORTREVISION= 1
+PORTREVISION= 2
.if !defined(MASTERDIR)
PKGNAMESUFFIX= 37
.endif
@@ -58,8 +58,10 @@ BROKEN_sparc64= Does not compile on sparc64: gcc core dump
.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= xsltproc:textproc/libxslt \
${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl
+.endif
CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"