Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2007 17:47:02 +0100 (CET)
From:      Martin Matuska <martin@matuska.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/110404: [MAINTAINER] www/aolserver 4.5.0
Message-ID:  <20070316164702.D5B053F420@mail.vx.sk>
Resent-Message-ID: <200703161650.l2GGo76h071424@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         110404
>Category:       ports
>Synopsis:       [MAINTAINER] www/aolserver 4.5.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 16 16:50:07 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Martin Matuska
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD 6.2-RELEASE i386 amd64
>Description:
Added support for the new tcl threads structure.
>How-To-Repeat:
>Fix:
diff -Nbur www/aolserver.orig/Makefile www/aolserver/Makefile
--- www/aolserver.orig/Makefile	Wed Mar  7 14:27:46 2007
+++ www/aolserver/Makefile	Fri Mar 16 16:52:53 2007
@@ -7,7 +7,7 @@
 
 PORTNAME=	aolserver
 PORTVERSION=	4.5.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	aolserver
@@ -44,8 +44,7 @@
 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
+LIB_DEPENDS+=	tcl${USE_TCL_VER}-threads:${PORTSDIR}/lang/tcl${USE_TCL_VER}-thread
 
 OPTIONS=	HTMLDOCS "Install HTML documentation" off \
 		TESTS "Install tests in examples directory" off
@@ -56,16 +55,9 @@
 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_ENV+=		TCLSH=${LOCALBASE}/bin/tclsh${USE_TCL_VER:S/8/8./}-threads
 CONFIGURE_ARGS+=	--prefix=${AOLSERVERBASE} \
-			--with-tcl=${TCL_LIBDIR}
+			--with-tcl=${LOCALBASE}/lib/tcl${USE_TCL_VER:S/8/8./}-threads
 
 .if !defined(NO_INSTALL_MANPAGES)
 INSTALL_TARGET=	install install-man
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070316164702.D5B053F420>