From 00682fbf1bb65a6577cade2d4f19c217290db107 Mon Sep 17 00:00:00 2001 From: Eero Hanninen Date: Tue, 13 Aug 2024 14:49:12 +0300 Subject: [PATCH] archivers/lzlib: Enable shared libraries PR: ports/280795 --- archivers/lzlib/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/archivers/lzlib/Makefile b/archivers/lzlib/Makefile index 2be4808f5e1f..af08a056bf07 100644 --- a/archivers/lzlib/Makefile +++ b/archivers/lzlib/Makefile @@ -1,5 +1,6 @@ PORTNAME= lzlib PORTVERSION= 1.14 +PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= SAVANNAH/lzip/lzlib @@ -10,12 +11,18 @@ WWW= https://www.nongnu.org/lzip/lzlib.html LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING -USES= gmake +CONFIGURE_ARGS= --enable-shared GNU_CONFIGURE= yes -MAKE_ARGS= ${MAKE_ENV} INFO= lzlib +INSTALL_TARGET= install-strip +MAKE_ARGS= ${MAKE_ENV} +USES= gmake +USE_LDCONFIG= yes PLIST_FILES= include/lzlib.h \ - lib/liblz.a + lib/liblz.a \ + lib/liblz.so \ + lib/liblz.so.${PORTVERSION:R} \ + lib/liblz.so.${PORTVERSION} .include