# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= zlib VERSION= 1.3.2 KEYWORDS= archivers VARIANTS= std SDESC[std]= Ubiquitous compression library HOMEPAGE= http://www.zlib.net CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= http://www.zlib.net/ DISTFILE[1]= zlib-1.3.2.tar.gz:main DF_INDEX= 1 SPKGS[std]= set primary dev man OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none USES= cpe LICENSE= ZLIB:primary LICENSE_FILE= ZLIB:{{WRKDIR}}/LICENSE LICENSE_AWK= ZLIB:"ifndef ZLIB_H" LICENSE_SOURCE= ZLIB:{{WRKSRC}}/zlib.h LICENSE_SCHEME= solo MUST_CONFIGURE= yes CONFIGURE_ENV= prefix="{{PREFIX}}" cflags="{{CFLAGS}}" SINGLE_JOB= yes SOVERSION= 1.3.2 post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libz.so # install our PIC library ${INSTALL_DATA} ${WRKSRC}/libz_pic.a ${STAGEDIR}${PREFIX}/lib/ post-build: # assemble PIC library (cd ${WRKSRC} \ && ${AR} -cq libz_pic.a *.lo \ && ranlib libz_pic.a) [FILE:566:descriptions/desc.primary] zlib is designed to be a free, general-purpose, legally unencumbered -- that is, not covered by any patents -- lossless data-compression library for use on virtually any computer hardware and operating system. The zlib data format is itself portable across platforms. Unlike the LZW compression method used in Unix compress(1) and in the GIF image format, the compression method currently used in zlib essentially never expands the data. zlib's memory footprint is also independent of the input data and can be reduced, if necessary, at some cost in compression. [FILE:96:distinfo] bb329a0a2cd0274d05519d61c667c062e06990d72e125ee2dfa8de64f0119d16 1502830 zlib-1.3.2.tar.gz [FILE:49:manifests/plist.primary] lib/ libz.so.%%SOMAJOR%% libz.so.%%SOVERSION%% [FILE:82:manifests/plist.dev] include/ zconf.h zlib.h lib/ libz.a libz.so libz_pic.a lib/pkgconfig/zlib.pc [FILE:22:manifests/plist.man] share/man/man3/zlib.3 [FILE:647:patches/patch-configure] --- configure.orig 2026-02-17 09:13:25 UTC +++ configure @@ -241,8 +241,8 @@ if test $cover -eq 1; then fi fi -show $cc -c $test.c -if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then +cc=cc +if [ "x" = "x" ]; then echo ... using gcc >> configure.log CC="$cc" CFLAGS="${CFLAGS--O3} -fPIC" @@ -289,6 +289,8 @@ if test "$gcc" -eq 1 && ($cc -c $test.c) uname=`(uname -s || echo unknown) 2>/dev/null` fi case "$uname" in + SunOS) + LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1"} ;; Linux* | linux* | *-linux* | GNU | GNU/* | solaris* | Haiku) case "$mname" in *sparc*)