summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorrichard <richard@pkgsrc.org>2014-09-19 09:07:27 +0000
committerrichard <richard@pkgsrc.org>2014-09-19 09:07:27 +0000
commit5e03f0395689deaf7617b5d92d0b40f204659b2e (patch)
treeda09380189cad55d8f6fb0cd54035e7ffcaf758e /devel
parent727dea993162377955c6894538951e654e758e1d (diff)
downloadpkgsrc-5e03f0395689deaf7617b5d92d0b40f204659b2e.tar.gz
Remove unnecessary reference to __moddi3 on SunOS by defining NO_DIVIDE for
adler32.c and adding LDFLAGS.SunOS+=-Wl,-zignore removing the dependency on libgcc_s.so. Bump PKGREVISION to take effect.
Diffstat (limited to 'devel')
-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