mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
b07e9251a8
This has failed on me at least twice recently. Here's the last fail: Assembler messages: Fatal error: llvm[3]: Compiling Mangler.cpp for Release build can't create /wrkdirs/security/clambc/work/clamav-bytecode-compiler- clambc-0.98.5rc1/obj/lib/Target/ClamBC/Release/version.o: No such file or directory
41 lines
994 B
Makefile
41 lines
994 B
Makefile
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= clambc
|
|
DISTVERSION= 0.98.5rc1
|
|
CATEGORIES= security
|
|
MASTER_SITES= SF/clamav/${PORTNAME:tl}
|
|
|
|
MAINTAINER= zi@FreeBSD.org
|
|
COMMENT= Bytecode signature compiler for ClamAV
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= gmake libtool perl5
|
|
ALL_TARGET= clambc-only
|
|
GNU_CONFIGURE= yes
|
|
USE_GCC= any
|
|
USE_LDCONFIG= yes
|
|
USE_PERL5= build
|
|
CONFIGURE_SCRIPT=../llvm/configure
|
|
CONFIGURE_ARGS= --enable-optimized --enable-targets=host-only \
|
|
--disable-bindings --enable-bindings=none
|
|
|
|
WRKSRC= ${WRKDIR}/clamav-bytecode-compiler-${DISTNAME}/obj
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
post-extract:
|
|
@${MKDIR} ${WRKSRC}
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/include/
|
|
@${RM} ${WRKSRC}/../clang/lib/Headers/CMakeLists.txt \
|
|
${WRKSRC}/../clang/lib/Headers/Makefile
|
|
(cd ${WRKSRC}/../clang/lib/Headers/ && ${COPYTREE_SHARE} . \
|
|
${STAGEDIR}${DATADIR}/include/)
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Release/bin/clambc-compiler \
|
|
${STAGEDIR}${PREFIX}/bin/
|
|
|
|
.include <bsd.port.mk>
|