Meson seems to not care that a llvm-config binary exists and will prefer to use llvm-config-devel for some reason. Using a native-file fixes that and meson will correctly use the llvm specified in it. PR: 247026 Approved by: zeising (x11@ implicit)
12 lines
270 B
XML
12 lines
270 B
XML
# $FreeBSD$
|
|
#
|
|
# this file holds common targets
|
|
|
|
pre-configure:
|
|
${PRINTF} "[binaries]\nllvm-config = '${LOCALBASE}/bin/llvm-config${LLVM_DEFAULT}'" \
|
|
> ${WRKSRC}/llvm.ini
|
|
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' \
|
|
${WRKSRC}/src/util/xmlconfig.c
|