diff options
author | kamil <kamil> | 2017-03-05 10:40:18 +0000 |
---|---|---|
committer | kamil <kamil> | 2017-03-05 10:40:18 +0000 |
commit | d6fdfe2ca37c008089d46acf33635af6e4041aa4 (patch) | |
tree | 1f4e3891fad93561a714e0e9f020ef629676243a /mk | |
parent | d45a1975d1298e242c1507d5df76cd5fc864cd4d (diff) | |
download | pkgsrc-d6fdfe2ca37c008089d46acf33635af6e4041aa4.tar.gz |
Fix path to cross-libtool-base in f2c.mk for crossbuilding
Diffstat (limited to 'mk')
-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 |