svn commit: r543973 - head/textproc/gtk-doc

Tobias C. Berner tcberner at FreeBSD.org
Sun Aug 2 16:04:59 UTC 2020


Author: tcberner
Date: Sun Aug  2 16:04:58 2020
New Revision: 543973
URL: https://svnweb.freebsd.org/changeset/ports/543973

Log:
  textproc/gtk-doc: make configure dependency on highlight explicit
  
  If textproc/source-highlight is installed when you run 'make -C
  textproc/gtk-doc configure', the configure phase will detect source-highlight
  first before highlight.  This makes gtk-doc implicitly dependent on
  source-highlight.  If source-highlight is later removed, gtk-doc is broken
  (config.py contains a now invalid reference to source-highlight).
  
  This is solved by specifying --with-highlight=highlight for configure.
  
  PR:		240536
  Submitted by:	John Hein <jcfyecrayz at liamekaens.com>

Modified:
  head/textproc/gtk-doc/Makefile

Modified: head/textproc/gtk-doc/Makefile
==============================================================================
--- head/textproc/gtk-doc/Makefile	Sun Aug  2 15:49:43 2020	(r543972)
+++ head/textproc/gtk-doc/Makefile	Sun Aug  2 16:04:58 2020	(r543973)
@@ -21,13 +21,14 @@ RUN_DEPENDS=	docbook-xml>0:textproc/docbook-xml \
 		highlight:textproc/highlight \
 		${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:textproc/docbook-xsl
 
-DOCBOOK_VERSION=	4.1.2
-
 USES=		gettext-tools gmake gnome pathfix perl5 pkgconfig \
 		python:3.4+ tar:xz
 USE_GNOME=	gnomeprefix libxslt
+
+DOCBOOK_VERSION=	4.1.2
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-xml-catalog=${LOCALBASE}/share/xml/catalog.ports
+CONFIGURE_ARGS=	--with-highlight=highlight \
+		--with-xml-catalog=${LOCALBASE}/share/xml/catalog.ports
 
 post-install:
 	${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \


More information about the svn-ports-all mailing list