summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/zlib/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/zlib/Makefile b/devel/zlib/Makefile
index 61acbe6eaf7..130e6012882 100644
--- a/devel/zlib/Makefile
+++ b/devel/zlib/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.50 2014/09/10 10:46:07 richard Exp $
+# $NetBSD: Makefile,v 1.51 2014/09/19 09:07:27 richard Exp $
DISTNAME= zlib-1.2.8
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libpng/} \
http://zlib.net/
@@ -21,6 +21,9 @@ PKGCONFIG_OVERRIDE+= zlib.pc.in
CFLAGS+= ${CPPFLAGS}
LDFLAGS.Cygwin= -no-undefined
+CPPFLAGS.SunOS+= -DNO_DIVIDE
+LDFLAGS.SunOS+= -Wl,-zignore # avoid unused reference to libgcc_s.so
+
SUBST_CLASSES+= pc
SUBST_MESSAGE.pc= pkg-config file substitutions
SUBST_STAGE.pc= pre-configure