Edit

IABSD.fr/ports/archivers/libzip/Makefile

Branch :

  • Show log

    Commit

  • Author : kmos
    Date : 2026-07-08 04:16:33
    Hash : 67a51f6d
    Message : error: wrong number of arguments specified for 'deprecated' attribute Move to ports-gcc on base-gcc arches to fix the build on sparc64

  • archivers/libzip/Makefile
  • COMMENT=		library for reading, creating and modifying zip archives
    
    DISTNAME=		libzip-1.11.4
    
    CATEGORIES=		archivers
    SHARED_LIBS +=  zip                  4.3      # 5.0
    
    HOMEPAGE=		https://libzip.org/
    
    # BSD
    PERMIT_PACKAGE=	Yes
    
    # error: wrong number of arguments specified for 'deprecated' attribute
    COMPILER=		base-clang ports-gcc
    COMPILER_LANGS=		c
    
    WANTLIB += bz2 c crypto lzma z zstd
    
    SITES=			https://libzip.org/download/
    
    MODULES =		devel/cmake
    
    LIB_DEPENDS =		archivers/bzip2 \
    			archivers/xz \
    			archivers/zstd
    
    CONFIGURE_ARGS =	-DENABLE_COMMONCRYPTO=OFF \
    			-DENABLE_GNUTLS=OFF \
    			-DENABLE_MBEDTLS=OFF
    
    #MODCMAKE_POLICY_VERSION_OVERRIDE = Yes
    
    .include <bsd.port.mk>