Lines 36-48
Link Here
|
36 |
SUB_LIST+= ${SUB_VARS} AOLSERVERBASE=${AOLSERVERBASE} |
36 |
SUB_LIST+= ${SUB_VARS} AOLSERVERBASE=${AOLSERVERBASE} |
37 |
PLIST_SUB+= ${SUB_VARS} AOLSERVERBASE=${AOLSERVERBASE:S/${TARGETDIR}\///} |
37 |
PLIST_SUB+= ${SUB_VARS} AOLSERVERBASE=${AOLSERVERBASE:S/${TARGETDIR}\///} |
38 |
|
38 |
|
39 |
USE_TCL= 84-thread |
39 |
USE_TCL_VER?= 84 |
40 |
USE_TCL_BUILD= 84-thread |
40 |
|
|
|
41 |
.if ${USE_TCL_VER} != 84 && ${USE_TCL_VER} != 85 |
42 |
IGNORE= supported values for USE_TCL_VER are only 84 and 85 |
43 |
.endif |
44 |
|
45 |
USE_TCL= ${USE_TCL_VER}-thread |
46 |
USE_TCL_BUILD= ${USE_TCL_VER}-thread |
41 |
|
47 |
|
42 |
OPTIONS= HTMLDOCS "Install HTML documentation" off \ |
48 |
OPTIONS= HTMLDOCS "Install HTML documentation" off \ |
43 |
TESTS "Install tests in examples directory" off |
49 |
TESTS "Install tests in examples directory" off |
44 |
|
50 |
|
45 |
.include <bsd.port.pre.mk> |
51 |
.include <bsd.port.pre.mk> |
|
|
52 |
|
53 |
. if exists(${TCLSH}) |
54 |
_TCL_IS_THREADED!= ${ECHO_CMD} 'puts [array names tcl_platform -exact threaded]' | ${TCLSH} || return 0 |
55 |
. if empty(_TCL_IS_THREADED) |
56 |
IGNORE= Tcl with threads is required. Please install Tcl with WITH_THREADS defined or from lang/tcl${USE_TCL} port and try again |
57 |
. endif |
58 |
. endif |
46 |
|
59 |
|
47 |
CONFIGURE_ENV+= TCLSH=${TCLSH} |
60 |
CONFIGURE_ENV+= TCLSH=${TCLSH} |
48 |
CONFIGURE_ARGS+= --prefix=${AOLSERVERBASE} \ |
61 |
CONFIGURE_ARGS+= --prefix=${AOLSERVERBASE} \ |