pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/ghostscript ghostscript also needs C++ to build



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0897f75a0f8e
branches:  trunk
changeset: 511840:0897f75a0f8e
user:      schwarz <schwarz%pkgsrc.org@localhost>
date:      Sun Apr 23 14:39:33 2006 +0000

description:
ghostscript also needs C++ to build

diffstat:

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

diffs (28 lines):

diff -r 3488feb869fe -r 0897f75a0f8e print/ghostscript/Makefile
--- a/print/ghostscript/Makefile        Sun Apr 23 14:35:03 2006 +0000
+++ b/print/ghostscript/Makefile        Sun Apr 23 14:39:33 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2006/04/17 13:46:46 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2006/04/23 14:39:33 schwarz Exp $
 
 DISTNAME=              ghostscript-${GS_VERS}
 PKGREVISION=           8
@@ -22,6 +22,7 @@
 CONFLICTS+=            hpijs-[0-9]*
 
 WRKSRC=                        ${WRKDIR}/gs${GS_VERS}
+USE_LANGUAGES=         c c++
 USE_TOOLS+=            gmake
 GNU_CONFIGURE=         yes
 
@@ -155,6 +156,10 @@
 LDFLAGS+=              -L${LOCALBASE}/bsd/lib ${COMPILER_RPATH_FLAG}${LOCALBASE}/bsd/lib
 .endif
 
+.if ${OPSYS} == "IRIX"
+CONFIGURE_ENV+=                ac_cv_c_bigendian=yes
+.endif
+
 # Define whether this platform has floating point hardware:
 #      FPU_TYPE=2 means floating point is faster than fixed point.
 # (This is the case on some RISCs with multiple instruction dispatch.)



Home | Main Index | Thread Index | Old Index