aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/tclmore/Makefile5
-rw-r--r--devel/tclmore/files/patch-Makefile.in13
2 files changed, 13 insertions, 5 deletions
diff --git a/devel/tclmore/Makefile b/devel/tclmore/Makefile
index 89d5443958fa..99137b0a7a44 100644
--- a/devel/tclmore/Makefile
+++ b/devel/tclmore/Makefile
@@ -11,16 +11,15 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}_src
MAINTAINER= dsh@vlink.ru
COMMENT= More TCL commands
+USES= gmake tcl
GNU_CONFIGURE= yes
-USE_GMAKE= yes
USE_LDCONFIG= yes
-USE_TCL= yes
WRKSRC= ${WRKDIR}/${DISTNAME:S/_src$//}
INFO= ${PORTNAME}
CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} \
--enable-threads
+MAKE_ENV+= STAGEDIR=${STAGEDIR}
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/devel/tclmore/files/patch-Makefile.in b/devel/tclmore/files/patch-Makefile.in
index 3ff329d4dbf4..d20d84a6f80b 100644
--- a/devel/tclmore/files/patch-Makefile.in
+++ b/devel/tclmore/files/patch-Makefile.in
@@ -1,5 +1,5 @@
---- Makefile.in.orig Fri May 21 20:24:36 2004
-+++ Makefile.in Wed Apr 26 11:01:49 2006
+--- Makefile.in.orig 2004-05-21 18:24:36.000000000 +0200
++++ Makefile.in 2014-02-17 15:59:39.000000000 +0100
@@ -44,7 +44,7 @@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
@@ -9,6 +9,15 @@
#PAGE
## ------------------------------------------------------------
+@@ -52,7 +52,7 @@
+ ## ------------------------------------------------------------
+
+ CONFIGDIR = @CONFIGDIR@
+-INSTALL_ROOT =
++INSTALL_ROOT = ${STAGEDIR}
+
+ # If there is not a value for "TMPDIR" from the environment
+ # we select a common default.
@@ -76,7 +76,7 @@
bindir = @bindir@