diff options
author | kamil <kamil@pkgsrc.org> | 2017-03-05 10:40:18 +0000 |
---|---|---|
committer | kamil <kamil@pkgsrc.org> | 2017-03-05 10:40:18 +0000 |
commit | 51cd40548e1b3b459c3dcc55a6ade25c551c95d2 (patch) | |
tree | d0c66cef2bea72352faf055a7832296e517d4bb9 | |
parent | 65eb42b484ee24f417d2152edd086c97cf28b5de (diff) | |
download | pkgsrc-51cd40548e1b3b459c3dcc55a6ade25c551c95d2.tar.gz |
Fix path to cross-libtool-base in f2c.mk for crossbuilding
-rw-r--r-- | mk/compiler/f2c.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/compiler/f2c.mk b/mk/compiler/f2c.mk index 4e0dfeb0315..4e73431f239 100644 --- a/mk/compiler/f2c.mk +++ b/mk/compiler/f2c.mk @@ -1,4 +1,4 @@ -# $NetBSD: f2c.mk,v 1.17 2015/11/25 13:05:47 jperkin Exp $ +# $NetBSD: f2c.mk,v 1.18 2017/03/05 10:40:18 kamil Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -87,7 +87,7 @@ PREPEND_PATH+= ${_F2C_DIR}/bin # Dependencies: TOOL_DEPENDS+= f2c>=20090411nb2:../../lang/f2c # translator -.if empty(PKGPATH:Mdevel/libtool-base) && empty(PKGPATH:Mcross/libtool-base) # See below +.if empty(PKGPATH:Mdevel/libtool-base) && empty(PKGPATH:Mcross/cross-libtool-base) # See below . include "../../devel/libf2c/buildlink3.mk" # library .endif @@ -96,7 +96,7 @@ PKGSRC_MAKE_ENV+= F2C_DIR=${F2C_DIR:Q} . endif # libtool-base is special as it only needs f77 to extract linker flags etc. -.if !empty(PKGPATH:Mdevel/libtool-base) || !empty(PKGPATH:Mcross/libtool-base) +.if !empty(PKGPATH:Mdevel/libtool-base) || !empty(PKGPATH:Mcross/cross-libtool-base) pre-configure: fake-f2c-libs _WRAP_EXTRA_ARGS.FC+= -L${WRKDIR}/.f2c/lib -I${WRKDIR}/.f2c/include |