pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/ghostscript clean out DOS linebreaks in one file...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/78ba54240017
branches:  trunk
changeset: 554651:78ba54240017
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Tue Feb 17 16:15:29 2009 +0000

description:
clean out DOS linebreaks in one file, to fix a build problem with
Sun Studio Compiler reported by Joern Clausen per PR pkg/40666

diffstat:

 print/ghostscript/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 9d9c2384593d -r 78ba54240017 print/ghostscript/Makefile
--- a/print/ghostscript/Makefile        Tue Feb 17 15:58:06 2009 +0000
+++ b/print/ghostscript/Makefile        Tue Feb 17 16:15:29 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2009/02/13 15:31:35 drochner Exp $
+# $NetBSD: Makefile,v 1.58 2009/02/17 16:15:29 drochner Exp $
 
 DISTNAME=      ghostscript-8.64
 CATEGORIES=    print
@@ -68,12 +68,17 @@
 
 CONFIGURE_ENV+=        LPLIBDIR=${LOCALBASE}/lib
 
+# XXX Sun Studio Compiler does not like DOS linebreaks
+DELDOSCR= ${WRKSRC}/jasper/src/libjasper/jpc/jpc_qmfb.c
+
 post-extract:
        ${MKDIR} ${WRKSRC}/bin
        ${MKDIR} ${WRKSRC}/obj
 #      ${MV} ${WRKSRC}/jasper ${WRKSRC}/jasper.dontuse
        ${MV} ${WRKSRC}/libpng ${WRKSRC}/libpng.dontuse
 #      ${MV} ${WRKSRC}/zlib ${WRKSRC}/zlib.dontuse
+       ${TR} -d '\015' <${DELDOSCR} >${DELDOSCR}.tmp \
+               && ${MV} ${DELDOSCR}.tmp ${DELDOSCR}
 
 post-install:
        ${LN} -sf gsc ${DESTDIR}${PREFIX}/bin/gs



Home | Main Index | Thread Index | Old Index