View | Details | Raw Unified | Return to bug 154900
Collapse All | Expand All

(-)Makefile (-3 / +11 lines)
Lines 18-24 Link Here
18
		LHA "Enable lha archives support" On \
18
		LHA "Enable lha archives support" On \
19
		UNZOO "Enable zoo archives support" On \
19
		UNZOO "Enable zoo archives support" On \
20
		UNRAR "Enable rar archives support" On \
20
		UNRAR "Enable rar archives support" On \
21
		LLVM "Enable JIT Bytecode compiler" On \
21
		LLVM "Enable JIT Bytecode compiler (bundled LLVM)" On \
22
		LLVM_PORTS "Enable JIT Bytecode compiler (from Ports)" Off \
22
		TESTS "Run compile-time tests (req. python)" On \
23
		TESTS "Run compile-time tests (req. python)" On \
23
		MILTER "Compile the milter interface" Off \
24
		MILTER "Compile the milter interface" Off \
24
		LDAP "libmilter was built with LDAP" Off \
25
		LDAP "libmilter was built with LDAP" Off \
Lines 139-147 Link Here
139
CONFIGURE_ARGS+=--without-iconv
140
CONFIGURE_ARGS+=--without-iconv
140
.endif
141
.endif
141
142
142
.if defined(WITH_LLVM) && ( ${ARCH} == "i386" || ${ARCH} == "amd64" )
143
.if (defined(WITH_LLVM) || defined(WITH_LLVM_PORTS)) && ( ${ARCH} == "i386" || ${ARCH} == "amd64" )
143
CONFIGURE_ARGS+=--enable-llvm
144
CONFIGURE_ARGS+=--enable-llvm
144
USE_GMAKE=	yes
145
USE_GMAKE=	yes
146
. if defined(WITH_LLVM_PORTS)
147
BUILD_DEPENDS+=	llvm-config:${PORTSDIR}/devel/llvm
148
CONFIGURE_ARGS+=--with-system-llvm=${LOCALBASE}/bin/llvm-config
149
. endif
150
. if defined(WITH_LLVM) && defined(WITH_LLVM_PORTS)
151
IGNORE=Select only one LLVM
152
. endif
145
. if defined(WITH_TESTS)
153
. if defined(WITH_TESTS)
146
USE_PYTHON_BUILD=	yes
154
USE_PYTHON_BUILD=	yes
147
. endif
155
. endif
Lines 203-209 Link Here
203
	@${REINPLACE_CMD} -e 's|0x100000000|0x100000000ULL|g' \
211
	@${REINPLACE_CMD} -e 's|0x100000000|0x100000000ULL|g' \
204
		${WRKSRC}/libclamunrar/unrar.c
212
		${WRKSRC}/libclamunrar/unrar.c
205
213
206
.if defined(WITH_LLVM) && defined(WITH_TESTS)
214
.if (defined(WITH_LLVM) || defined(WITH_LLVM_PORTS)) && defined(WITH_TESTS)
207
pre-configure:
215
pre-configure:
208
	@if ! ${PYTHON_CMD} -c "import thread" >/dev/null 2>&1; then \
216
	@if ! ${PYTHON_CMD} -c "import thread" >/dev/null 2>&1; then \
209
		${ECHO_MSG} ""; \
217
		${ECHO_MSG} ""; \

Return to bug 154900