pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/tiff libtiffxx needs to be linked against the...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/48c1448ba5e3
branches:  trunk
changeset: 495809:48c1448ba5e3
user:      grant <grant%pkgsrc.org@localhost>
date:      Wed Jun 22 02:31:36 2005 +0000

description:
libtiffxx needs to be linked against the C++ runtime libraries libCrun
and libCstd when building with sunpro.

ok'd by jlam@

diffstat:

 graphics/tiff/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 49b3b906b946 -r 48c1448ba5e3 graphics/tiff/Makefile
--- a/graphics/tiff/Makefile    Wed Jun 22 00:45:29 2005 +0000
+++ b/graphics/tiff/Makefile    Wed Jun 22 02:31:36 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.69 2005/05/12 12:53:21 salo Exp $
+# $NetBSD: Makefile,v 1.70 2005/06/22 02:31:36 grant Exp $
 
 DISTNAME=      tiff-3.7.2
 PKGREVISION=   1
@@ -22,6 +22,12 @@
 CONFIGURE_ARGS+=       --enable-cxx
 CONFIGURE_ARGS+=       --with-docdir=${PREFIX}/share/doc/tiff
 
+.include "../../mk/compiler.mk"
+
+.if !empty(CC_VERSION:MSun)
+CXXFLAGS+=             -lCrun -lCstd
+.endif
+
 .include "options.mk"
 
 .include "../../devel/zlib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index