summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"