From 8ecbb368fb54661f08561e9b9032282c344da99a Mon Sep 17 00:00:00 2001 From: John Marino Date: Sun, 20 Jul 2014 09:02:14 +0000 Subject: Convert 6 chinese font ponts to include with .CURDIR These ports were including chinese/ttfm/Makefile.ttf using an absolute path using PORTSDIR instead of a relative one using .CURDIR. In specific use cases, PORTSDIR will fail but .CURDIR always works. As a bonus, this allows
 &  inclusions to be removed as well.
Covered by an old blanket permission (bapt) but only two of these ports
have maintainers anyway.
---
 chinese/fireflyttf/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'chinese/fireflyttf/Makefile')

diff --git a/chinese/fireflyttf/Makefile b/chinese/fireflyttf/Makefile
index 638bd58fc6fd..e3140563e76b 100644
--- a/chinese/fireflyttf/Makefile
+++ b/chinese/fireflyttf/Makefile
@@ -22,8 +22,7 @@ PLIST_FILES=	${FONTSDIR_REL}/local.conf-sung
 
 OPTIONS_DEFAULT+=LGJ_FONT
 
-.include 
-.include "${PORTSDIR}/chinese/ttfm/Makefile.ttf"
+.include "${.CURDIR}/../ttfm/Makefile.ttf"
 
 OPTIONS_DEFINE+=LGJ_FONT
 LGJ_FONT_DESC=	Patch for Taiwan horn
@@ -49,4 +48,4 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/${TTF} ${STAGEDIR}${FONTSDIR}
 	${INSTALL_DATA} ${FILESDIR}/local.conf-sung ${STAGEDIR}${FONTSDIR}
 
-.include 
+.include 
-- 
cgit v1.2.3