127f9ee13d
* Fixed a compression-ratio regression in fast mode of LZMA1 and LZMA2. The bug is present in 5.1.4beta and 5.2.0 releases. * Fixed a portability problem in xz that affected at least OpenBSD. * Fixed xzdiff to be compatible with FreeBSD's mktemp which differs from most other mktemp implementations. * Changed CPU core count detection to use cpuset_getaffinity() on FreeBSD.
36 lines
810 B
Makefile
36 lines
810 B
Makefile
# $NetBSD: Makefile,v 1.21 2015/03/02 09:36:24 adam Exp $
|
|
|
|
DISTNAME= xz-5.2.1
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= http://tukaani.org/xz/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://tukaani.org/xz/
|
|
COMMENT= XZ utilities
|
|
LICENSE= public-domain AND gnu-gpl-v2
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.include "options.mk"
|
|
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
PKGCONFIG_OVERRIDE= src/liblzma/liblzma.pc.in
|
|
|
|
GCC_REQD+= 3.0
|
|
|
|
CONFLICTS= lzma-[0-9]* lzma-utils-[0-9]* lzmalib-[0-9]*
|
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
.if !empty(PKGSRC_COMPILER:Msunpro)
|
|
CONFIGURE_ARGS+= --disable-assembler
|
|
.endif
|
|
|
|
.if ${OPSYS} == "SunOS"
|
|
CONFIGURE_ENV+= ac_cv_have_decl_optreset=no
|
|
CONFIGURE_ENV+= gl_cv_cc_visibility=no
|
|
.endif
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|