diff options
author | jlam <jlam@pkgsrc.org> | 2002-09-24 22:16:42 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-09-24 22:16:42 +0000 |
commit | 5983233cd73d38b11926edb046ab2bcdbdeac68c (patch) | |
tree | b2f660b59a83062f8ad445e7509a79ee70fd1613 /mk/buildlink2 | |
parent | 47752131c11fb13f3e5a4288fde464a3888f3165 (diff) | |
download | pkgsrc-5983233cd73d38b11926edb046ab2bcdbdeac68c.tar.gz |
Don't create the fake libtool archives unless USE_LIBTOOL is defined. This
fixes building gmake without libtool installed.
Diffstat (limited to 'mk/buildlink2')
-rw-r--r-- | mk/buildlink2/bsd.buildlink2.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/buildlink2/bsd.buildlink2.mk b/mk/buildlink2/bsd.buildlink2.mk index d693c4f44fc..1d3e6747e45 100644 --- a/mk/buildlink2/bsd.buildlink2.mk +++ b/mk/buildlink2/bsd.buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink2.mk,v 1.30 2002/09/24 10:41:25 jlam Exp $ +# $NetBSD: bsd.buildlink2.mk,v 1.31 2002/09/24 22:16:42 jlam Exp $ # # An example package buildlink2.mk file: # @@ -493,6 +493,10 @@ BUILDLINK_SUBST_SED.3.unbuildlink= ${_BLNK_UNTRANSFORM_SED.3} post-build: unbuildlink-buildlink-subst unbuildlink-buildlink-subst: _BUILDLINK_SUBST_USE +.if !defined(USE_LIBTOOL) +BUILDLINK_FAKE_LA= ${TRUE} +.else +# # Create a fake libtool archive $$lafile that uses the shared libraries # named in $$libpattern. # @@ -505,6 +509,7 @@ BUILDLINK_FAKE_LA= \ esac; \ ${_BLNK_FAKE_LA} $$_lib > $$lafile; \ fi +.endif # Generate wrapper scripts for the compiler tools that sanitize the # argument list by converting references to ${LOCALBASE} and ${X11BASE} |