summaryrefslogtreecommitdiff
path: root/graphics/tiff
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2005-06-22 02:31:36 +0000
committergrant <grant@pkgsrc.org>2005-06-22 02:31:36 +0000
commit3ab61075e36e198d8b54ac0fc2dc2978a17f51a4 (patch)
tree74c2ea1e4bd73a6fe4ae62973140a5ccc470ce85 /graphics/tiff
parent4871886bb477e1f87d22e10af1f46f58cec040fb (diff)
downloadpkgsrc-3ab61075e36e198d8b54ac0fc2dc2978a17f51a4.tar.gz
libtiffxx needs to be linked against the C++ runtime libraries libCrun
and libCstd when building with sunpro. ok'd by jlam@
Diffstat (limited to 'graphics/tiff')
-rw-r--r--graphics/tiff/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/tiff/Makefile b/graphics/tiff/Makefile
index 90cc5a5bb4e..6ac001a8b13 100644
--- a/graphics/tiff/Makefile
+++ b/graphics/tiff/Makefile
@@ -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-rpath
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"