summaryrefslogtreecommitdiff
path: root/x11/blt/Makefile
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2014-02-01 18:12:13 +0000
committeradam <adam@pkgsrc.org>2014-02-01 18:12:13 +0000
commit93cd76e44e1f7ca476c8235020ed3b06e87f28d7 (patch)
tree82971af05850cfc69f9abf13f88ca6a1fff88e9c /x11/blt/Makefile
parentd1ae7c644b97481002162044c724b19cac9625fe (diff)
downloadpkgsrc-93cd76e44e1f7ca476c8235020ed3b06e87f28d7.tar.gz
Fix buildling with Tcl 8.6
Diffstat (limited to 'x11/blt/Makefile')
-rw-r--r--x11/blt/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/x11/blt/Makefile b/x11/blt/Makefile
index 5c68f4b389b..7545474439f 100644
--- a/x11/blt/Makefile
+++ b/x11/blt/Makefile
@@ -1,12 +1,15 @@
-# $NetBSD: Makefile,v 1.28 2014/01/11 14:42:01 adam Exp $
-#
+# $NetBSD: Makefile,v 1.29 2014/02/01 18:12:13 adam Exp $
DISTNAME= BLT2.4z
PKGNAME= blt-2.4z
-PKGREVISION= 7
+PKGREVISION= 8
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=blt/}
+PATCHFILES= blt2.4z-patch-2
+PATCH_SITES= ${MASTER_SITES}
+PATCH_DIST_STRIP=-p1
+
MAINTAINER= brook@nmsu.edu
HOMEPAGE= http://blt.sourceforge.net/
COMMENT= Extension to Tcl/Tk
@@ -16,11 +19,12 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
MAKE_JOBS_SAFE= no
WRKSRC= ${WRKDIR}/blt2.4z
-GNU_CONFIGURE= YES
-CONFIGURE_ARGS+= --exec-prefix=${PREFIX:Q}
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --exec-prefix=${PREFIX}
CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}/lib
CONFIGURE_ARGS+= --with-tk=${BUILDLINK_PREFIX.tk}/lib
-CONFIGURE_ENV+= X11BASE=${X11BASE:Q}
+CONFIGURE_ENV+= X11BASE=${X11BASE}
+CFLAGS+= -DUSE_INTERP_RESULT
MAKE_ENV+= CP=${CP:Q}
CHECK_INTERPRETER_SKIP+= lib/*/demos/*.tcl
@@ -37,5 +41,4 @@ INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR}
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
-
.include "../../mk/bsd.pkg.mk"