From a30fd931a3dc3a58c1d3aed18a6117caa2f9f333 Mon Sep 17 00:00:00 2001 From: jmc Date: Sun, 16 Dec 2001 07:39:10 +0000 Subject: Various bits to get this working. Buildlinkify against tcl/tk/x11 This configure is kinda brain dead so just keep the configure.in patches (which were reversed anyways from the configure patches) and depend on autoconf to force a correct configure. Also pass X11BASE along to configure's env so the right -R flags end up in the libs/binaries. --- x11/blt/Makefile | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'x11/blt/Makefile') diff --git a/x11/blt/Makefile b/x11/blt/Makefile index 27ad50329da..cb03f0d698a 100644 --- a/x11/blt/Makefile +++ b/x11/blt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2001/05/05 19:51:19 jlam Exp $ +# $NetBSD: Makefile,v 1.5 2001/12/16 07:39:10 jmc Exp $ # DISTNAME= BLT2.4o @@ -10,13 +10,19 @@ MAINTAINER= brook@nmsu.edu HOMEPAGE= http://www.tcltk.com/blt/index.html COMMENT= extension to Tcl/Tk -DEPENDS+= tk>=8.3.2:../../x11/tk +BUILD_DEPENDS+= autoconf>=2.13:../../devel/autoconf GNU_CONFIGURE= YES - -CONFIGURE_ARGS+= --with-tcl=${LOCALBASE}/lib -CONFIGURE_ARGS+= --with-tk=${LOCALBASE}/lib +CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_DIR}/lib +CONFIGURE_ARGS+= --with-tk=${BUILDLINK_DIR}/lib +CONFIGURE_ENV+= X11BASE=${X11BASE} WRKSRC= ${WRKDIR}/blt2.4o +pre-configure: + cd ${WRKSRC}; ${LOCALBASE}/bin/autoreconf --force + +.include "../../lang/tcl/buildlink.mk" +.include "../../x11/tk/buildlink.mk" +.include "../../mk/x11.buildlink.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3