FreeBSD Bugzilla – Attachment 76034 Details for
Bug 109691
[UPDATE] www/tclwebtest
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.96 KB, created by
Martin Matuska
on 2007-02-28 17:30:04 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Martin Matuska
Created:
2007-02-28 17:30:04 UTC
Size:
2.96 KB
patch
obsolete
>diff -Nbur www/tclwebtest.orig/Makefile www/tclwebtest/Makefile >--- www/tclwebtest.orig/Makefile Wed Jul 27 13:32:50 2005 >+++ www/tclwebtest/Makefile Wed Feb 28 18:14:38 2007 >@@ -7,26 +7,49 @@ > > PORTNAME= tclwebtest > PORTVERSION= 1.0 >-CATEGORIES= www >+PORTREVISION= 1 >+CATEGORIES= www tcl84 > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= ${PORTNAME} > > MAINTAINER= aldert@nooitgedagt.net > COMMENT= Tool for issuing HTTP requests and dealing with the result > >-LIB_DEPENDS+= tcl84.1:${PORTSDIR}/lang/tcl84-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 >+ >+# by default we want tcl with threads as dependency (www/openacs) >+USE_TCL= ${USE_TCL_VER}-thread > > NO_BUILD= YES > >-TCLVERSION= 8.4 > TWTBASE= ${PREFIX}/tclwebtest-${PORTVERSION} > TWTBASEL= ${PREFIX}/tclwebtest > >-PLIST_SUB+= TWTDIR=tclwebtest-${PORTVERSION} TCLLIB=lib/tcl${TCLVERSION} >+.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) >+# Check if a threaded build is forced >+. if defined(TCL_WITH_THREADS) || defined(WITH_THREADS) >+IGNORE= tcl with threads is required. Please install tcl with WITH_THREADS defined or from lang/tcl${USE_TCL} port and try again >+. else >+# Installed tcl is not threaded, so set correct dependencies >+USE_TCL=${USE_TCL_VER} >+.include "${PORTSDIR}/Mk/bsd.tcl.mk" >+. endif >+. endif >+.endif >+ >+PLIST_SUB+= TWTDIR=tclwebtest-${PORTVERSION} TCLLIB=${TCL_LIBDIR:S/${LOCALBASE}\///g} > > post-extract: > @${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf >- @${SED} -i "" -e "s| tclsh | tclsh${TCLVERSION} |g" ${WRKSRC}/tclwebtest >+ @${SED} -i "" -e "s| tclsh | ${TCLSH} |g" ${WRKSRC}/tclwebtest > > do-install: > @${TEST} -d ${TWTBASE} || ( ${MKDIR} ${TWTBASE} && \ >@@ -45,7 +68,7 @@ > > post-install: > @${TEST} -L ${TWTBASEL} || ${LN} -s ${TWTBASE} ${TWTBASEL} >- @${TEST} -L ${LOCALBASE}/lib/tcl${TCLVERSION}/tclwebtest || ${LN} -s ${TWTBASEL}/lib ${LOCALBASE}/lib/tcl${TCLVERSION}/tclwebtest >+ @${TEST} -L ${TCL_LIBDIR}/tclwebtest || ${LN} -s ${TWTBASEL}/lib ${TCL_LIBDIR}/tclwebtest > @${TEST} -L ${PREFIX}/bin/tclwebtest || ${LN} -s ${TWTBASEL}/tclwebtest ${PREFIX}/bin > > @${ECHO_CMD} "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" >@@ -53,4 +76,4 @@ > @${ECHO_CMD} " Set it to ${TWTBASEL} if tclwebtest barks at you. " > @${ECHO_CMD} "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk> >diff -Nbur www/tclwebtest.orig/pkg-plist www/tclwebtest/pkg-plist >--- www/tclwebtest.orig/pkg-plist Wed Jul 27 13:32:50 2005 >+++ www/tclwebtest/pkg-plist Wed Feb 28 18:13:58 2007 >@@ -1,4 +1,5 @@ > bin/tclwebtest >+%%TCLLIB%%/tclwebtest > %%DOCSDIR%%/ChangeLog > %%DOCSDIR%%/README > %%DOCSDIR%%/TODO >@@ -96,5 +97,3 @@ > @dirrm %%EXAMPLESDIR%% > @dirrm %%DOCSDIR%%/doc > @dirrm %%DOCSDIR%% >-@cwd %%LOCALBASE%% >-%%TCLLIB%%/tclwebtest
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 109691
: 76034