mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
09c84d434f
SSE JIT code which is used on x86 archs that needs W+X. (I didn't test on another arch but I don't see what would be making it x86-specific so it's entirely possible it tries to execute x86 opcodes there too).
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
COMMENT = compression utility for large files
|
|
|
|
GH_ACCOUNT = ckolivas
|
|
GH_PROJECT = lrzip
|
|
GH_TAGNAME = v0.651
|
|
REVISION = 1
|
|
|
|
CATEGORIES = archivers
|
|
|
|
MAINTAINER = Ruben Llorente <porting@use.startmail.com>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} bz2 c lz4 lzo2 m z
|
|
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
LIB_DEPENDS = archivers/bzip2 \
|
|
archivers/lz4 \
|
|
archivers/lzo2
|
|
|
|
RUN_DEPENDS = shells/bash
|
|
|
|
CONFIGURE_STYLE = autoreconf
|
|
CONFIGURE_ARGS = --disable-doc
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include -DNOJIT" \
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
ac_cv_prog_ASM_PROG='no '
|
|
# don't pick up archivers/nasm; it breaks build
|
|
# ld: error: undefined symbol: CrcUpdateT8
|
|
# >>> referenced by 7zCrcT8.c
|
|
# >>> 7zCrcT8.o:(CrcUpdate) in archive /pobj/lrzip-0.651/lrzip-0.651/.libs/libtmplrzip.a
|
|
# >>> referenced by 7zCrcT8.c
|
|
# >>> 7zCrcT8.o:(CrcCalc) in archive /pobj/lrzip-0.651/lrzip-0.651/.libs/libtmplrzip.a
|
|
|
|
AUTOCONF_VERSION = 2.69
|
|
AUTOMAKE_VERSION = 1.16
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/lrzip
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.example ${PREFIX}/share/examples/lrzip
|
|
|
|
.include <bsd.port.mk>
|