diff options
author | skrll <skrll> | 2001-05-24 19:39:55 +0000 |
---|---|---|
committer | skrll <skrll> | 2001-05-24 19:39:55 +0000 |
commit | 606b2a0110cfb0e31650a977af04cbe577b8992c (patch) | |
tree | 4f329799dbd84d35d1ecd301ec1642267f591fbf /mk | |
parent | aca4f90bf3a7d6a5537355d672494f32387e8c41 (diff) | |
download | pkgsrc-606b2a0110cfb0e31650a977af04cbe577b8992c.tar.gz |
Improve logic around USE_LIBTOOL and USE_LTDL.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 5 |
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}" |