From 606b2a0110cfb0e31650a977af04cbe577b8992c Mon Sep 17 00:00:00 2001 From: skrll Date: Thu, 24 May 2001 19:39:55 +0000 Subject: Improve logic around USE_LIBTOOL and USE_LTDL. --- mk/bsd.pkg.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mk/bsd.pkg.mk') diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 95c799ea1d8..e38f6158955 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.748 2001/05/24 13:58:18 agc Exp $ +# $NetBSD: bsd.pkg.mk,v 1.749 2001/05/24 19:39:55 skrll Exp $ # # This file is in the public domain. # @@ -239,9 +239,10 @@ CONFIGURE_ENV+= LIBS="${LIBS} -L${LOCALBASE}/lib -lintl" LIBTOOL_REQD= 1.4.20010219nb6 .if defined(USE_LIBTOOL) LIBTOOL= ${LOCALBASE}/bin/libtool -BUILD_DEPENDS+= libtool>=${LIBTOOL_REQD}:../../devel/libtool .if defined(USE_LTDL) DEPENDS+= libtool>=${LIBTOOL_REQD}:../../devel/libtool +.else +BUILD_DEPENDS+= libtool>=${LIBTOOL_REQD}:../../devel/libtool .endif CONFIGURE_ENV+= LIBTOOL="${LIBTOOL} ${LIBTOOL_FLAGS}" MAKE_ENV+= LIBTOOL="${LIBTOOL} ${LIBTOOL_FLAGS}" -- cgit v1.2.3