freebsd-ports/chinese/ttfm/files/patch-ttfm.sh
Rong-En Fan 3c4e8d4a80 - Repsect X11BASE. This should fix chinese/*ttf build failure with
non-standard X11BASE.

Reported by:	pointyhat
2006-11-26 18:12:11 +00:00

11 lines
390 B
Bash

--- ./ttfm.sh.orig Wed Jan 31 17:34:46 2001
+++ ./ttfm.sh Mon Nov 27 02:03:54 2006
@@ -258,7 +258,7 @@
# Call script with --remove
for i in "$INSTALLSCRIPT"; do
if [ -x "$i" ] ; then
- $i --remove "$FONTFILENAME" || {
+ $i --remove "${DefaultFontPath}/$FONTFILENAME" || {
echo "Error in running $i to remove $DefaultFontPath/$FONTFILENAME." > /dev/stderr
}
else