summaryrefslogtreecommitdiff
path: root/x11/blt/Makefile
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2001-12-16 07:39:10 +0000
committerjmc <jmc@pkgsrc.org>2001-12-16 07:39:10 +0000
commita30fd931a3dc3a58c1d3aed18a6117caa2f9f333 (patch)
treebac74a7a4fc07c09a81bb6ff714196733a81090c /x11/blt/Makefile
parent1bc839b686f25864459a0baa29681fa9060871d1 (diff)
downloadpkgsrc-a30fd931a3dc3a58c1d3aed18a6117caa2f9f333.tar.gz
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.
Diffstat (limited to 'x11/blt/Makefile')
-rw-r--r--x11/blt/Makefile16
1 files changed, 11 insertions, 5 deletions
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"