aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-10-21 22:16:36 +0800
committermat <mat@FreeBSD.org>2015-10-21 22:16:36 +0800
commitfd72e7d73c13f30149456e4157b21a4186d14ec9 (patch)
tree395c0724a8ac90de3c2a5ea9837f76e930bfbfe1 /Mk
parent64f8090a3669db8650f736e92f7f1a4c1320fcd1 (diff)
downloadfreebsd-ports-gnome-fd72e7d73c13f30149456e4157b21a4186d14ec9.tar.gz
freebsd-ports-gnome-fd72e7d73c13f30149456e4157b21a4186d14ec9.tar.zst
freebsd-ports-gnome-fd72e7d73c13f30149456e4157b21a4186d14ec9.zip
PLIST_SUB entries need paths relative to PREFIX.
With hat: portmgr Sponsored by: Absolight
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/fonts.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/fonts.mk b/Mk/Uses/fonts.mk
index ea9084e77d8c..5d105ea1c90e 100644
--- a/Mk/Uses/fonts.mk
+++ b/Mk/Uses/fonts.mk
@@ -64,6 +64,6 @@ FONTSDIR?= ${PREFIX}/share/fonts/${FONTNAME}
PLIST_FILES+= "@${fonts_ARGS} ${FONTSDIR}"
.endif
SUB_LIST+= FONTSDIR="${FONTSDIR}"
-PLIST_SUB+= FONTSDIR="${FONTSDIR}"
+PLIST_SUB+= FONTSDIR="${FONTSDIR:S,^${PREFIX}/,,}"
.endif