aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2016-03-25 22:32:16 +0800
committercy <cy@FreeBSD.org>2016-03-25 22:32:16 +0800
commitab141742743667ad3d49ff645584760b7de0ba5c (patch)
tree09a67252467a4faa72b93d54565dc03f5ff8c935
parent70636d49074f9134894699652e67a9efe23a54a6 (diff)
downloadfreebsd-ports-gnome-ab141742743667ad3d49ff645584760b7de0ba5c.tar.gz
freebsd-ports-gnome-ab141742743667ad3d49ff645584760b7de0ba5c.tar.zst
freebsd-ports-gnome-ab141742743667ad3d49ff645584760b7de0ba5c.zip
Fix build to depend on local copy of docbook-xsl rather than try to
dynamically retreive the required file from github.
-rw-r--r--sysutils/syslog-ng-devel/Makefile6
-rw-r--r--sysutils/syslog-ng37/Makefile6
2 files changed, 8 insertions, 4 deletions
diff --git a/sysutils/syslog-ng-devel/Makefile b/sysutils/syslog-ng-devel/Makefile
index 856fab8ba8dc..d81529901d5c 100644
--- a/sysutils/syslog-ng-devel/Makefile
+++ b/sysutils/syslog-ng-devel/Makefile
@@ -47,13 +47,15 @@ INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --sysconfdir=${LOCALBASE}/etc --localstatedir=/var/db \
--enable-dynamic-linking --enable-manpages \
--disable-linux-caps \
- --datadir=${PREFIX}/share/syslog-ng/
+ --datadir=${PREFIX}/share/syslog-ng/ \
+ --with-docbook-dir=${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl
BROKEN_sparc64= Does not compile on sparc64: gcc core dump
.include <bsd.port.options.mk>
-BUILD_DEPENDS+= xsltproc:${PORTSDIR}/textproc/libxslt
+BUILD_DEPENDS+= xsltproc:${PORTSDIR}/textproc/libxslt \
+ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl
CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"
diff --git a/sysutils/syslog-ng37/Makefile b/sysutils/syslog-ng37/Makefile
index e2a386ab5a25..f8faf6cd4849 100644
--- a/sysutils/syslog-ng37/Makefile
+++ b/sysutils/syslog-ng37/Makefile
@@ -49,13 +49,15 @@ INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --sysconfdir=${LOCALBASE}/etc --localstatedir=/var/db \
--enable-dynamic-linking --enable-manpages \
--disable-linux-caps \
- --datadir=${PREFIX}/share/syslog-ng/
+ --datadir=${PREFIX}/share/syslog-ng/ \
+ --with-docbook-dir=${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl
BROKEN_sparc64= Does not compile on sparc64: gcc core dump
.include <bsd.port.options.mk>
-BUILD_DEPENDS+= xsltproc:${PORTSDIR}/textproc/libxslt
+BUILD_DEPENDS+= xsltproc:${PORTSDIR}/textproc/libxslt \
+ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl
CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"