Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2007 15:00:29 +0100 (CET)
From:      Martin Matuska <martin@matuska.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/109676: [MAINTAINER] www/aolserver 4.5.0
Message-ID:  <20070228140029.9D4E63F42D@mail.vx.sk>
Resent-Message-ID: <200702281410.l1SEA1HI018942@freefall.freebsd.org>

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

>Number:         109676
>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:   Wed Feb 28 14:10:01 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:
Changes to the port:
- added check for non-threaded tcl installations
- added support for tcl85 via USE_TCL_VER=85

The PORTREVISION does NOT need to be bumped as there are NO changes
in any packages.
>How-To-Repeat:
>Fix:
diff -Nbur www/aolserver.orig/Makefile www/aolserver/Makefile
--- www/aolserver.orig/Makefile	Wed Feb 28 14:51:30 2007
+++ www/aolserver/Makefile	Wed Feb 28 14:51:35 2007
@@ -36,13 +36,26 @@
 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 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} \
>Release-Note:
>Audit-Trail:
>Unformatted:



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