From c60f3637133cf5350e6dafa6657cfeaf1cc58498 Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Sat, 11 Feb 2006 21:20:18 +0000 Subject: 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 --- print/fpdf/Makefile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'print/fpdf') 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: -- cgit v1.2.3