From 5e03f0395689deaf7617b5d92d0b40f204659b2e Mon Sep 17 00:00:00 2001 From: richard Date: Fri, 19 Sep 2014 09:07:27 +0000 Subject: 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. --- devel/zlib/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'devel') 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 -- cgit v1.2.3