openbsd-ports/archivers/libarchive/Makefile
naddy 0a7b6c018e devel/libarchive: Drop Requires.private field from pkgconfig file.
Some failures will otherwise result in dependent ports since we do
not have a pkg-config file for iconv.
Reported and analyzed by sthen@
2022-12-12 20:45:36 +00:00

41 lines
1.0 KiB
Makefile

COMMENT= multi-format archive and compression library
DISTNAME= libarchive-3.6.2
REVISION= 0
SHARED_LIBS= archive 13.0 # 19.2
CATEGORIES= archivers
HOMEPAGE= https://www.libarchive.org/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# BSD
PERMIT_PACKAGE= Yes
MASTER_SITES= https://www.libarchive.org/downloads/
EXTRACT_SUFX= .tar.xz
WANTLIB= b2 bz2 c crypto expat iconv lz4 lzma pthread z zstd
LIB_DEPENDS= archivers/bzip2 \
archivers/lz4 \
archivers/xz \
archivers/zstd \
converters/libiconv \
security/libb2
SEPARATE_BUILD= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=--without-nettle # prefer OpenSSL
CONFIGURE_ARGS+=--without-xml2 # expat suffices
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
# Do not pick up headers from e2fsprogs
CONFIGURE_ENV+= ac_cv_header_ext2fs_ext2_fs_h=no
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build/autoconf
DEBUG_PACKAGES = ${BUILD_PACKAGES}
# Note: Numerous regression tests fail because they require unsupported
# locales or character encodings.
.include <bsd.port.mk>