diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-03-01 10:20:17 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-03-01 10:20:17 +0000 |
commit | d8140dd79e344d7525efa4d6728d6246895faa75 (patch) | |
tree | 467e6f439b033ac8bd16a79014758e7de431d423 /www/aolserver | |
parent | 48471fcd229a1cb6f700ef5a28112892c1d1c074 (diff) | |
download | ports-d8140dd79e344d7525efa4d6728d6246895faa75.tar.gz ports-d8140dd79e344d7525efa4d6728d6246895faa75.zip |
- Added check for non-threaded tcl installations
- Added support for tcl85 via USE_TCL_VER=85
PR: 109676
Submitted by: Martin Matuska <martin@matuska.org> (maintainer)
Notes
Notes:
svn path=/head/; revision=186263
Diffstat (limited to 'www/aolserver')
-rw-r--r-- | www/aolserver/Makefile | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/www/aolserver/Makefile b/www/aolserver/Makefile index 13dbaf7ba8f5..4023ac0dce8a 100644 --- a/www/aolserver/Makefile +++ b/www/aolserver/Makefile @@ -7,11 +7,12 @@ PORTNAME= aolserver PORTVERSION= 4.5.0 -DISTVERSIONSUFFIX= -src +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= aolserver DIST_SUBDIR= aolserver +DISTVERSIONSUFFIX= -src MAINTAINER= martin@matuska.org COMMENT= A multithreaded web server with embedded TCL interpreter @@ -36,14 +37,31 @@ SUB_VARS= AOLSERVERUSER=${AOLSERVERUSER} \ SUB_LIST+= ${SUB_VARS} AOLSERVERBASE=${AOLSERVERBASE} PLIST_SUB+= ${SUB_VARS} AOLSERVERBASE=${AOLSERVERBASE:S/${TARGETDIR}\///} -USE_TCL= 84-thread -USE_TCL_BUILD= 84-thread +USE_TCL_VER?= 84 + +.if ${USE_TCL_VER} != 84 && ${USE_TCL_VER} != 85 +IGNORE= supported values for USE_TCL_VER are only 84 and 85 +.endif + +USE_TCL= ${USE_TCL_VER}-thread +USE_TCL_BUILD= ${USE_TCL_VER}-thread OPTIONS= HTMLDOCS "Install HTML documentation" off \ TESTS "Install tests in examples directory" off .include <bsd.port.pre.mk> +.if (${ARCH} == "ia64") +BROKEN= does not compile on ia64 +.endif + +. if exists(${TCLSH}) +_TCL_IS_THREADED!= ${ECHO_CMD} 'puts [array names tcl_platform -exact threaded]' | ${TCLSH} || return 0 +. if empty(_TCL_IS_THREADED) +IGNORE= Tcl with threads is required. Please install Tcl with WITH_THREADS defined or from lang/tcl${USE_TCL} port and try again +. endif +. endif + CONFIGURE_ENV+= TCLSH=${TCLSH} CONFIGURE_ARGS+= --prefix=${AOLSERVERBASE} \ --with-tcl=${TCL_LIBDIR} |