pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ap-dtcl Use the buildlink framewark and switch to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5a000434a72f
branches:  trunk
changeset: 487340:5a000434a72f
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Jan 12 22:31:44 2005 +0000

description:
Use the buildlink framewark and switch to Tcl-8.4.

Bump PKGREVISION due to the tcl dependency change.

diffstat:

 www/ap-dtcl/Makefile |  16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diffs (42 lines):

diff -r fb10534ad9dc -r 5a000434a72f www/ap-dtcl/Makefile
--- a/www/ap-dtcl/Makefile      Wed Jan 12 21:52:55 2005 +0000
+++ b/www/ap-dtcl/Makefile      Wed Jan 12 22:31:44 2005 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.20 2004/03/08 19:52:52 minskim Exp $
+# $NetBSD: Makefile,v 1.21 2005/01/12 22:31:44 minskim Exp $
 
 DISTNAME=      mod_dtcl-0.11.6
 PKGNAME=       ap-dtcl-0.11.2
+PKGREVISION=   1
 CATEGORIES=    www
 MASTER_SITES=  http://tcl.apache.org/mod_dtcl/download/
 
@@ -9,20 +10,23 @@
 HOMEPAGE=      http://tcl.apache.org/
 COMMENT=       Simple, fast Tcl server side scripting for apache
 
-DEPENDS+=      apache{,6}-1.3.*:../../www/apache
-DEPENDS+=      tcl>=8.3.2nb2:../../lang/tcl83
+WRKSRC=                ${WRKDIR}/mod_dtcl
+USE_BUILDLINK3=        yes
 
-WRKSRC=                ${WRKDIR}/mod_dtcl
-TCLSH=         ${LOCALBASE}/bin/tclsh
-CPPFLAGS+=     -I${PREFIX}/include/httpd -DEAPI
+TCLSH=         ${BUILDLINK_PREFIX.tcl}/bin/tclsh
+CPPFLAGS+=     -I${BUILDLINK_PREFIX.apache}/include/httpd -DEAPI
 
 MAKE_ENV+=     TCLSH="${TCLSH}"
 MAKE_ENV+=     INCLUDES="${CPPFLAGS}"
 
+APACHE_MODULE= yes
 APACHEMODDIR=  ${PREFIX}/lib/httpd
 HTMLDIR=       ${PREFIX}/share/doc/html/mod_dtcl
 EGDIR=         ${PREFIX}/share/examples/mod_dtcl
 
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../www/apache/buildlink3.mk"
+
 do-build:
        @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} builddtcl.sh
 



Home | Main Index | Thread Index | Old Index