pkgsrc-Bugs archive

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

pkg/47267: pkgsrc/print/ghostscript problems with omni and libiconv



>Number:         47267
>Category:       pkg
>Synopsis:       pkgsrc/print/ghostscript problems with omni and libiconv
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 30 18:20:00 +0000 2012
>Originator:     Richard PALO
>Release:        pkgsrc trunk
>Organization:
>Environment:
SunOS devzone 5.11 oi_151a7 i86pc i386 i86pc Solaris

>Description:
in order to get pkgsrc/print/ghostscript on solaris, I needed the following 
patch
>How-To-Repeat:

>Fix:
richard@devzone:~/src/pkgsrc/print/ghostscript$ cvs diff
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/print/ghostscript/Makefile,v
retrieving revision 1.91
diff -u -p -r1.91 Makefile
--- Makefile    16 Oct 2012 10:10:17 -0000      1.91
+++ Makefile    30 Nov 2012 18:15:03 -0000
@@ -1,6 +1,8 @@
 # $NetBSD: Makefile,v 1.91 2012/10/16 10:10:17 rumko Exp $
 
 DISTNAME=      ghostscript-${GS_VERSION}
+
+PKGREVISION=    1
 CATEGORIES=    print
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=ghostscript/}
 MASTER_SITES+= http://ghostscript.com/releases/
@@ -28,7 +30,8 @@ UNLIMIT_RESOURCES+=   datasize        # gsromfs1.
 
 BUILD_TARGET=          so
 INSTALL_TARGET=                soinstall
-CONFIGURE_ARGS+=       -with-omni=no   # otherwise pulls in libstdc++
+CONFIGURE_ARGS+=       --with-omni=no  # otherwise pulls in libstdc++
+CONFIGURE_ARGS+=       --with-libiconv=gnu
 
 REPLACE_PERL+=         toolbin/localcluster/clusterpush.pl
 REPLACE_PERL+=         toolbin/checkdeps.pl
@@ -100,6 +103,7 @@ post-extract:
 post-install:
        ${LN} -sf gsc ${DESTDIR}${PREFIX}/bin/gs
 
+.include "../../converters/libiconv/buildlink3.mk"
 .include "../../print/libpaper/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
 .include "../../graphics/tiff/buildlink3.mk"



Home | Main Index | Thread Index | Old Index