1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Grrrr. This tcllib-dependant port slipped through due to my local

modifications. Mad as a (pointy)hatter...

Notified by:	kris
Approved by:	portmgr	(earlier)
This commit is contained in:
Mikhail Teterin 2006-10-28 13:26:45 +00:00
parent b79265d4ed
commit acec0b8ce1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=175544
3 changed files with 6 additions and 3 deletions

View File

@ -16,7 +16,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= mi@aldan.algebra.com
COMMENT= An http-server implemented in TCL
RUN_DEPENDS= ${LOCALBASE}/lib/tcllib1.7/pkgIndex.tcl:${PORTSDIR}/devel/tcllib
RUN_DEPENDS= ${LOCALBASE}/lib/tcllib1.9/pkgIndex.tcl:${PORTSDIR}/devel/tcllib
LIB_DEPENDS= tcl${TCL_VER}:${PORTSDIR}/lang/tcl${TCL_VER}
USE_RC_SUBR= tclhttpd.sh

View File

@ -2,7 +2,7 @@ TCL_DVER?= 8.4
TCL_VER= ${TCL_DVER:S/.//}
PREFIX?= /usr/local
SRCS=crypt.c setuid.c limit.c metaPackage.c
SRCS=crypt.c setuid.c limit.c metaPackage.c httpdate.c
CFLAGS+=-I${LOCALBASE}/include/tcl${TCL_DVER} -DUSE_TCL_STUBS \
-DTclhttpdbin_Init=${LIBNAME}_Init -Wall -Werror

View File

@ -1,12 +1,15 @@
#include <tcl.h>
Tcl_PackageInitProc Crypt_Init, Limit_Init, Setuid_Init, Utime_Init;
Tcl_PackageInitProc Httpdate_Init;
int Tclhttpdbin_Init(Tcl_Interp *I) {
int
Tclhttpdbin_Init(Tcl_Interp *I) {
Crypt_Init(I);
Limit_Init(I);
Setuid_Init(I);
Httpdate_Init(I);
return TCL_OK;
}