Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2014 14:17:40 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r369064 - head/devel/jgoodies-common
Message-ID:  <201409231417.s8NEHeYt010563@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Sep 23 14:17:39 2014
New Revision: 369064
URL: http://svnweb.freebsd.org/changeset/ports/369064
QAT: https://qat.redports.org/buildarchive/r369064/

Log:
  Fix after _LICENSE_DIR_REL disappeared
  /me reminds variables starting with _ are private and should not be used
  outside of the framework
  
  Reported by:	jhale

Modified:
  head/devel/jgoodies-common/Makefile

Modified: head/devel/jgoodies-common/Makefile
==============================================================================
--- head/devel/jgoodies-common/Makefile	Tue Sep 23 14:16:45 2014	(r369063)
+++ head/devel/jgoodies-common/Makefile	Tue Sep 23 14:17:39 2014	(r369064)
@@ -47,7 +47,7 @@ post-patch:
 	${REINPLACE_CMD} -E 's|<a .[^>]+>License</a>|<abbr title="BSD 3-clause. License-file installation disabled">License</abbr>|'\
 		${WRKSRC}/README.html
 .else
-	${REINPLACE_CMD} -E 's|href="LICENSE.txt"|href="../../../${_LICENSE_DIR_REL}/BSD"|' \
+	${REINPLACE_CMD} -E 's|href="LICENSE.txt"|href="../../../${_LICENSE_DIR:S,^${PREFIX}/,,}/BSD"|' \
 		${WRKSRC}/README.html
 .endif
 



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