From a446fc1feb830c7c55c744417259b9c1cdb1bcd4 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 24 Jul 1998 01:41:15 +0000 Subject: Add the USE_LIBTOOL pkg Makefile option. When set, it adds a build dependency on libtool, and puts the path to libtool in $LIBTOOL in the configure and make environments. --- mk/bsd.pkg.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'mk') diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index f0fb1cb1e2d..2ad76171e67 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.124 1998/07/22 09:18:46 agc Exp $ +# $NetBSD: bsd.pkg.mk,v 1.125 1998/07/24 01:41:15 tv Exp $ # # This file is in the public domain. # @@ -137,7 +137,11 @@ DEPENDS+= gtexinfo-3.12:${PKGSRCDIR}/devel/gtexinfo BUILD_DEPENDS+= ${X11BASE}/include/Xm/Xm.h:../../x11/lesstif RUN_DEPENDS+= ${X11BASE}/include/Xm/Xm.h:../../x11/lesstif .endif - +.if defined(USE_LIBTOOL) +BUILD_DEPENDS+= ${LOCALBASE}/bin/libtool:../../devel/libtool +CONFIGURE_ENV+= LIBTOOL=${LOCALBASE}/bin/libtool +MAKE_ENV+= LIBTOOL=${LOCALBASE}/bin/libtool +.endif .if exists(${PKGSRCDIR}/../Makefile.inc) .include "${PKGSRCDIR}/../Makefile.inc" -- cgit v1.2.3