summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2009-02-17 16:15:29 +0000
committerdrochner <drochner@pkgsrc.org>2009-02-17 16:15:29 +0000
commit7f9f05036581b67f451bda7e75b054626d450842 (patch)
tree6f8d6e0fc7d0dfe1cc19ea4a9d5c3dfb7c6f0a9e /print
parente24ddafc41ef0070147d7689a286392e2dcc643a (diff)
downloadpkgsrc-7f9f05036581b67f451bda7e75b054626d450842.tar.gz
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 (limited to 'print')
-rw-r--r--print/ghostscript/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/print/ghostscript/Makefile b/print/ghostscript/Makefile
index d647f96e36d..f47e4cf9258 100644
--- a/print/ghostscript/Makefile
+++ b/print/ghostscript/Makefile
@@ -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 @@ BUILDLINK_TRANSFORM+= l:fontconfig:fontconfig:iconv
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