pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/zlib Remove unnecessary reference to __moddi3 on...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5b823160bbc3
branches:  trunk
changeset: 639611:5b823160bbc3
user:      richard <richard%pkgsrc.org@localhost>
date:      Fri Sep 19 09:07:27 2014 +0000

description:
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:

 devel/zlib/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r fb477d8fc1a3 -r 5b823160bbc3 devel/zlib/Makefile
--- a/devel/zlib/Makefile       Fri Sep 19 08:42:56 2014 +0000
+++ b/devel/zlib/Makefile       Fri Sep 19 09:07:27 2014 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index