pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libLLVM: fix wrong host triple here too



Module Name:	pkgsrc-wip
Committed By:	Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By:	tnn
Date:		Wed Feb 24 19:04:14 2016 +0100
Changeset:	8a5ae390271a470805bb379898fd2ac2a38cf1cb

Modified Files:
	libLLVM/Makefile

Log Message:
libLLVM: fix wrong host triple here too

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8a5ae390271a470805bb379898fd2ac2a38cf1cb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libLLVM/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diffs:
diff --git a/libLLVM/Makefile b/libLLVM/Makefile
index a9af861..f3ac546 100644
--- a/libLLVM/Makefile
+++ b/libLLVM/Makefile
@@ -91,8 +91,13 @@ TEST_ENV+=		LD_LIBRARY_PATH=${WRKDIR}/build/lib
 .include "../../mk/bsd.prefs.mk"
 .include "options.mk"
 
+# replacing config.guess is required even for cmake.
+# It is used to detect correct LLVM_HOST_TRIPLE, e.g. for NetBSD/evbarm.
 post-extract:
 	${RUN} mkdir -p ${WRKDIR}/build
+.for f in config.guess config.sub
+	cp ../../mk/gnu-config/${f} ${WRKSRC}/autoconf/${f}
+.endfor
 
 post-install:
 	${INSTALL_LIB_DIR} ${DESTDIR}${PREFIX}/lib/libLLVM


Home | Main Index | Thread Index | Old Index