summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorskrll <skrll@pkgsrc.org>2001-05-24 19:39:55 +0000
committerskrll <skrll@pkgsrc.org>2001-05-24 19:39:55 +0000
commita94ba4caf9d1ca447fffcc3db10b07e7f5e9b041 (patch)
tree4f329799dbd84d35d1ecd301ec1642267f591fbf /mk
parent3af15b801ab729ca41cd4905b69cb6c1faeae977 (diff)
downloadpkgsrc-a94ba4caf9d1ca447fffcc3db10b07e7f5e9b041.tar.gz
Improve logic around USE_LIBTOOL and USE_LTDL.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk5
1 files changed, 3 insertions, 2 deletions
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}"