svn commit: r399911 - head/Mk/Uses

Mathieu Arnold mat at FreeBSD.org
Wed Oct 21 14:16:37 UTC 2015


Author: mat
Date: Wed Oct 21 14:16:36 2015
New Revision: 399911
URL: https://svnweb.freebsd.org/changeset/ports/399911

Log:
  PLIST_SUB entries need paths relative to PREFIX.
  
  With hat:	portmgr
  Sponsored by:	Absolight

Modified:
  head/Mk/Uses/fonts.mk

Modified: head/Mk/Uses/fonts.mk
==============================================================================
--- head/Mk/Uses/fonts.mk	Wed Oct 21 14:16:31 2015	(r399910)
+++ head/Mk/Uses/fonts.mk	Wed Oct 21 14:16:36 2015	(r399911)
@@ -64,6 +64,6 @@ FONTSDIR?=	${PREFIX}/share/fonts/${FONTN
 PLIST_FILES+=	"@${fonts_ARGS} ${FONTSDIR}"
 .endif
 SUB_LIST+=	FONTSDIR="${FONTSDIR}"
-PLIST_SUB+=	FONTSDIR="${FONTSDIR}"
+PLIST_SUB+=	FONTSDIR="${FONTSDIR:S,^${PREFIX}/,,}"
 .endif
 


More information about the svn-ports-head mailing list