svn commit: r369064 - head/devel/jgoodies-common

Baptiste Daroussin bapt at FreeBSD.org
Tue Sep 23 14:17:40 UTC 2014


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
 


More information about the svn-ports-head mailing list