diff options
author | tv <tv@pkgsrc.org> | 1998-07-24 01:47:33 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 1998-07-24 01:47:33 +0000 |
commit | 519925679a875824eb9fc2abd0338a15730e86e1 (patch) | |
tree | 364fbe7eedfbab38917fce11385e30a1b84c94c6 | |
parent | c0ff1c70cc2507ddeadb3fb0544bf106b9a5a3bd (diff) | |
download | pkgsrc-519925679a875824eb9fc2abd0338a15730e86e1.tar.gz |
Now I remember why I suggested a ${LIBTOOL} variable: libtool is also used
in manual {pre,do,post}-install targets in pkg Makefiles. Define
${LIBTOOL} to be ${LOCALBASE}/bin/libtool, but do not allow it to be
overridden.
-rw-r--r-- | mk/bsd.pkg.mk | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 2ad76171e67..db1b0df398c 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.125 1998/07/24 01:41:15 tv Exp $ +# $NetBSD: bsd.pkg.mk,v 1.126 1998/07/24 01:47:33 tv Exp $ # # This file is in the public domain. # @@ -138,9 +138,10 @@ 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 +LIBTOOL= ${LOCALBASE}/bin/libtool +BUILD_DEPENDS+= ${LIBTOOL}:../../devel/libtool +CONFIGURE_ENV+= LIBTOOL=${LIBTOOL} +MAKE_ENV+= LIBTOOL=${LIBTOOL} .endif .if exists(${PKGSRCDIR}/../Makefile.inc) |