diff options
author | grant <grant> | 2005-06-22 02:31:36 +0000 |
---|---|---|
committer | grant <grant> | 2005-06-22 02:31:36 +0000 |
commit | 8884a23efabff0f287d9185b78fa843a7cb9d7db (patch) | |
tree | 74c2ea1e4bd73a6fe4ae62973140a5ccc470ce85 /graphics/tiff/Makefile | |
parent | 64d7f853aefb1d2b86ee85d4fc2157eac38f769c (diff) | |
download | pkgsrc-8884a23efabff0f287d9185b78fa843a7cb9d7db.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/Makefile')
-rw-r--r-- | graphics/tiff/Makefile | 8 |
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" |