diff options
author | thierry <thierry@FreeBSD.org> | 2006-02-12 05:20:18 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2006-02-12 05:20:18 +0800 |
commit | 9c238328189f8ceb4ffa5ae39fb066015d461deb (patch) | |
tree | 747fc65066637147f890f5963d33945fa8888e8c | |
parent | c1e781eb2a7a4fbe4536307f0f079112d54f5eb3 (diff) | |
download | freebsd-ports-gnome-9c238328189f8ceb4ffa5ae39fb066015d461deb.tar.gz freebsd-ports-gnome-9c238328189f8ceb4ffa5ae39fb066015d461deb.tar.zst freebsd-ports-gnome-9c238328189f8ceb4ffa5ae39fb066015d461deb.zip |
Replace tr by DOS2UNIX: when using tr with LANG or LC_ALL set to a
multibyte locale, "Illegal byte sequence" were reported.
Reported by: Derek Kulinski <takeda (at) takeda.tk>
-rw-r--r-- | print/fpdf/Makefile | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/print/fpdf/Makefile b/print/fpdf/Makefile index e2102803e39d..a1220dadaa5b 100644 --- a/print/fpdf/Makefile +++ b/print/fpdf/Makefile @@ -18,6 +18,7 @@ COMMENT= A free PHP class to generate PDF files with pure PHP USE_PHP= zlib +USE_DOS2UNIX= yes FETCH_CMD= /usr/bin/fetch -ARr -o ${DISTDIR}/${DISTFILES} NO_BUILD= yes @@ -27,7 +28,6 @@ SUB_FILES= pkg-message SUB_LIST= FPDF_DIR=${FPDF_DIR} PLIST_SUB= FPDF_DIR=${FPDF_DIR} -EXT2CNV= afm htm php txt DOCS= FAQ.htm doc/* fpdf.css histo.htm install.txt tutoriel do-fetch: @@ -37,11 +37,6 @@ do-fetch: fi pre-patch: -.for ext in ${EXT2CNV} - @for f in `${FIND} ${WRKSRC} -type f -name "*.${ext}"` ; do \ - ${TR} -d '\r' < $$f > $$f.dos && \ - ${MV} $$f.dos $$f ; done -.endfor @${FIND} ${WRKSRC} -type f | ${XARGS} ${CHMOD} ${SHAREMODE} do-install: |