Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2018 09:30:42 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458812 - head/x11-fonts/encodings
Message-ID:  <201801120930.w0C9Ugva041764@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Fri Jan 12 09:30:42 2018
New Revision: 458812
URL: https://svnweb.freebsd.org/changeset/ports/458812

Log:
  x11-fonts/encodings: expect $PATH to work, use ${PREFIX} instead of hardcoded /usr/local
  
  PR:		170852
  Submitted by:	bapt

Modified:
  head/x11-fonts/encodings/Makefile

Modified: head/x11-fonts/encodings/Makefile
==============================================================================
--- head/x11-fonts/encodings/Makefile	Fri Jan 12 09:16:20 2018	(r458811)
+++ head/x11-fonts/encodings/Makefile	Fri Jan 12 09:30:42 2018	(r458812)
@@ -20,6 +20,6 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-fontrootdir=${PREFIX}/share/fonts
 
 post-install:
-	cd ${STAGEDIR}/usr/local/share/fonts/encodings && /usr/local/bin/mkfontscale -b -s -l -n -r -p /usr/local/share/fonts/encodings -e . -e large .
+	cd ${STAGEDIR}/usr/local/share/fonts/encodings && mkfontscale -b -s -l -n -r -p ${PREFIX}/share/fonts/encodings -e . -e large .
 
 .include <bsd.port.mk>



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