From affd714c7a295ba2cd4957494dba9df3f3702eda Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Wed, 6 Mar 2019 13:51:15 +0000 Subject: [PATCH] Unbreak: don't pick up llvm-config(1) from base --- lang/flang/flang/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lang/flang/flang/Makefile b/lang/flang/flang/Makefile index 6a4845e369a..561f8568a5a 100644 --- a/lang/flang/flang/Makefile +++ b/lang/flang/flang/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.37 2019/03/05 06:47:59 bcallah Exp $ +# $OpenBSD: Makefile,v 1.38 2019/03/06 13:51:15 ajacoutot Exp $ COMMENT = LLVM Fortran compiler passes and runtime library DISTNAME = flang-7.0.1.20190301 @@ -35,4 +35,8 @@ CONFIGURE_ARGS = -DCMAKE_Fortran_COMPILER="${LOCALBASE}/bin/flang" \ -DLIBPGMATH="${LOCALBASE}/lib/libpgmath.a" \ -DWITH_WERROR=OFF +# don't pick up llvm-config(1) from base +pre-configure: + ln -sf ${LOCALBASE}/bin/llvm-config ${WRKDIR}/bin/llvm-config + .include