aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorClive Lin <clive@FreeBSD.org>2003-01-18 20:22:25 +0000
committerClive Lin <clive@FreeBSD.org>2003-01-18 20:22:25 +0000
commit5085e62ee24fbb97304a4c0d73539bfa60ecc456 (patch)
treec5336dfa52005b39676909501fbbb3a6167ddfbd /chinese
parent06f6765b64917fcbf4aa55be18a64c2c7c3782b8 (diff)
downloadports-5085e62ee24fbb97304a4c0d73539bfa60ecc456.tar.gz
ports-5085e62ee24fbb97304a4c0d73539bfa60ecc456.zip
Add support for non-standard WRKDIRPREFIX, which is commonly seen
on FreeBSD clusters with only one nfs mounted, read only ports tree. The functionality of supporting non-standard WRKDIRPREFIX is just supported in ordinary port, but not in port which crosses referenced other port's WRKSRC during the build. This commit fixes it. Reviewed by: statue@freebsd.sinica.edu.tw (MAINTAINER)
Notes
Notes: svn path=/head/; revision=73423
Diffstat (limited to 'chinese')
-rw-r--r--chinese/mplayer-fonts/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/chinese/mplayer-fonts/Makefile b/chinese/mplayer-fonts/Makefile
index edbb067e9565..2eaee56a2b81 100644
--- a/chinese/mplayer-fonts/Makefile
+++ b/chinese/mplayer-fonts/Makefile
@@ -33,6 +33,7 @@ ARPHIC_FONTS_BIG5= bkai00mp bsmi00lp
ARPHIC_FONTS_GB2312= gbsn00lp gkai00mp
ALL_FONTS= ${ARPHIC_FONTS_BIG5} ${ARPHIC_FONTS_GB2312}
FONT_SIZES= 16 24
+WEBFONTS_WRKSRC= `cd ${PORTSDIR}/x11-fonts/webfonts/; make -V WRKSRC`
post-extract:
.for fn in ${ALL_FONTS}
@@ -40,7 +41,7 @@ post-extract:
.endfor
@${LN} -sf ${WRKDIR}/BIG5 ${WRKSRC}/encodings/
@${LN} -sf ${WRKDIR}/GB2312 ${WRKSRC}/encodings/
- @${LN} -sf ${PORTSDIR}/x11-fonts/webfonts/work/webfonts-0.21/arial.ttf ${WRKSRC}/
+ @${LN} -sf ${WEBFONTS_WRKSRC}/arial.ttf ${WRKSRC}/
pre-patch:
@${ECHO_CMD} -e 'LDFLAGS=-lm `${FREETYPE_CONFIG} --libs` -liconv \