pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/zlib



Module Name:    pkgsrc
Committed By:   thor
Date:           Thu Jan 25 16:41:20 UTC 2024

Modified Files:
        pkgsrc/devel/zlib: Makefile

Log Message:
devel/zlib: include the version script from upstream

Adding symbol versions to the shared library on Linux.

This brings zlib more in line what distro builds have on Linux, avoiding
lots of complaints in the case that you have to replace native zlib with
an upgraded version from pkgsrc (to build octave on CentOS 7.x, for
example).


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 pkgsrc/devel/zlib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/zlib/Makefile
diff -u pkgsrc/devel/zlib/Makefile:1.61 pkgsrc/devel/zlib/Makefile:1.62
--- pkgsrc/devel/zlib/Makefile:1.61     Wed Nov  9 13:14:10 2022
+++ pkgsrc/devel/zlib/Makefile  Thu Jan 25 16:41:20 2024
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.61 2022/11/09 13:14:10 joerg Exp $
+# $NetBSD: Makefile,v 1.62 2024/01/25 16:41:20 thor Exp $
 
 DISTNAME=      zlib-1.2.13
 CATEGORIES=    devel
+PKGREVISION=   1
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=libpng/}
 MASTER_SITES+= http://zlib.net/
 DISTFILES=     # empty
@@ -26,6 +27,8 @@ CPPFLAGS.SunOS+=      -DNO_DIVIDE
 .endif
 LDFLAGS.SunOS+=        -Wl,-zignore    # avoid unused reference to libgcc_s.so
 
+LDFLAGS.Linux+=        -Wl,--version-script,zlib.map
+
 SUBST_CLASSES+=                pc
 SUBST_MESSAGE.pc=      pkg-config file substitutions
 SUBST_STAGE.pc=                pre-configure



Home | Main Index | Thread Index | Old Index