diff options
author | clive <clive@FreeBSD.org> | 2003-01-19 04:22:25 +0800 |
---|---|---|
committer | clive <clive@FreeBSD.org> | 2003-01-19 04:22:25 +0800 |
commit | 2ebbc242d54c798f52f52217ddc31f199c2c389a (patch) | |
tree | 8d9b0262d70d8e9634ae921558de6394ba58f135 /chinese | |
parent | f33f9752d15b26ca912f3255ef8aceae0cef5697 (diff) | |
download | freebsd-ports-gnome-2ebbc242d54c798f52f52217ddc31f199c2c389a.tar.gz freebsd-ports-gnome-2ebbc242d54c798f52f52217ddc31f199c2c389a.tar.zst freebsd-ports-gnome-2ebbc242d54c798f52f52217ddc31f199c2c389a.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)
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/mplayer-fonts/Makefile | 3 |
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 \ |