diff options
author | richard <richard@pkgsrc.org> | 2014-09-19 09:07:27 +0000 |
---|---|---|
committer | richard <richard@pkgsrc.org> | 2014-09-19 09:07:27 +0000 |
commit | a4724ca78a68fd643c83b8adc7b947cd1bdf82e4 (patch) | |
tree | da09380189cad55d8f6fb0cd54035e7ffcaf758e /devel | |
parent | ffda0c04a0f2509e7dc3e15625b1ca522d2cbb43 (diff) | |
download | pkgsrc-a4724ca78a68fd643c83b8adc7b947cd1bdf82e4.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/Makefile | 7 |
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 |