diff options
author | tv <tv> | 1998-07-24 01:41:15 +0000 |
---|---|---|
committer | tv <tv> | 1998-07-24 01:41:15 +0000 |
commit | 54cc311394e94688d3eebfd4fe7ecf33e17fdf95 (patch) | |
tree | 166d01a43ed0a14c6e7b809862927352df986dd0 /mk | |
parent | e4e0125df5f5b11f35e00900f2d4860884bcbfd4 (diff) | |
download | pkgsrc-54cc311394e94688d3eebfd4fe7ecf33e17fdf95.tar.gz |
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.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 8 |
1 files changed, 6 insertions, 2 deletions
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" |