Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2012 22:07:28 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r301816 - head/textproc/xmlto
Message-ID:  <201207312207.q6VM7SaP077582@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Tue Jul 31 22:07:27 2012
New Revision: 301816
URL: http://svn.freebsd.org/changeset/ports/301816

Log:
  Replace GNU-make-ism in upstream Makefile by a BSD-make compatible expansion.
  Not currently needed, but since I've debugged this in a different context,
  save the solution for good.
  
  Feature safe: yes

Modified:
  head/textproc/xmlto/Makefile

Modified: head/textproc/xmlto/Makefile
==============================================================================
--- head/textproc/xmlto/Makefile	Tue Jul 31 20:59:44 2012	(r301815)
+++ head/textproc/xmlto/Makefile	Tue Jul 31 22:07:27 2012	(r301816)
@@ -63,7 +63,10 @@ CONFIGURE_ARGS+=	--with-backend=dblatex
 .endif
 
 post-patch:
+	# get rid of nonstandard "type" option -t:
 	cd ${WRKSRC} && ${FIND} . -type f -exec ${REINPLACE_CMD} -i '' -e 's/type -t/which/;' '{}' '+'
+	# get rid of GNU-make-ism (BSD make defines $< only in suffix rules)
+	${REINPLACE_CMD} -e '/^GEN_MANPAGE/{s/\$$</$$>/;}' ${WRKSRC}/Makefile.in
 
 .if !defined(NOPORTDOCS)
 post-install:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207312207.q6VM7SaP077582>