From owner-svn-ports-all@FreeBSD.ORG Tue Nov 18 04:28:10 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D6171B25; Tue, 18 Nov 2014 04:28:10 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ABD32959; Tue, 18 Nov 2014 04:28:10 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sAI4SAlR083657; Tue, 18 Nov 2014 04:28:10 GMT (envelope-from mi@FreeBSD.org) Received: (from mi@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sAI4SAh6083653; Tue, 18 Nov 2014 04:28:10 GMT (envelope-from mi@FreeBSD.org) Message-Id: <201411180428.sAI4SAh6083653@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: mi set sender to mi@FreeBSD.org using -f From: Mikhail Teterin Date: Tue, 18 Nov 2014 04:28:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r372699 - head/www/websh X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2014 04:28:10 -0000 Author: mi Date: Tue Nov 18 04:28:09 2014 New Revision: 372699 URL: https://svnweb.freebsd.org/changeset/ports/372699 QAT: https://qat.redports.org/buildarchive/r372699/ Log: Allow building (packaging, rather) against Tcl-8.6 as well. Modified: head/www/websh/Makefile head/www/websh/pkg-plist Modified: head/www/websh/Makefile ============================================================================== --- head/www/websh/Makefile Tue Nov 18 03:14:09 2014 (r372698) +++ head/www/websh/Makefile Tue Nov 18 04:28:09 2014 (r372699) @@ -16,7 +16,7 @@ MAKE_JOBS_UNSAFE= yes TCL_DVER= ${TCL_VER:S/.//} -USES= gmake tcl:84,85 +USES= gmake tcl:84,85,86 USE_AUTOTOOLS= autoconf WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src/unix CONFIGURE_ARGS+=--with-tclinclude=${TCL_INCLUDEDIR} \ @@ -26,6 +26,7 @@ SUB_FILES= httpd.conf pkgIndex.tcl pkg-m SUB_LIST+= TCL_DVER=${TCL_DVER} WS_VER=${PORTVERSION} SUB_LIST+= APACHEETCDIR=${APACHEETCDIR} APACHEMODDIR=${APACHEMODDIR} PLIST_SUB+= TCL_DVER=${TCL_DVER} +PLIST_SUB+= NOMINORVERSION=${TCL_VER:C/8.[345]//:C/^..*/"@comment "/} PORTDOCS= * PORTEXAMPLES= * @@ -70,12 +71,19 @@ do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} ${INSTALL_LIB} ${WRKSRC}/mod_websh${PORTVERSION}.so \ ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_websh.so - ${INSTALL_LIB} ${WRKSRC}/libwebsh${TCL_DVER}.so.1.0 \ - ${STAGEDIR}${PREFIX}/lib - ${LN} -sf libwebsh${TCL_DVER}.so.1.0 \ - ${STAGEDIR}${PREFIX}/lib/libwebsh${TCL_DVER}.so.1 - ${LN} -sf libwebsh${TCL_DVER}.so.1 \ - ${STAGEDIR}${PREFIX}/lib/libwebsh${TCL_DVER}.so + if [ -f ${WRKSRC}/libwebsh${TCL_DVER}.so.1.0 ]; then \ + ${INSTALL_LIB} ${WRKSRC}/libwebsh${TCL_DVER}.so.1.0 \ + ${STAGEDIR}${PREFIX}/lib; \ + ${LN} -sf libwebsh${TCL_DVER}.so.1.0 \ + ${STAGEDIR}${PREFIX}/lib/libwebsh${TCL_DVER}.so.1; \ + ${LN} -sf libwebsh${TCL_DVER}.so.1.0 \ + ${STAGEDIR}${PREFIX}/lib/libwebsh${TCL_DVER}.so; \ + else \ + ${INSTALL_LIB} ${WRKSRC}/libwebsh${TCL_DVER}.so.1 \ + ${STAGEDIR}${PREFIX}/lib; \ + ${LN} -sf libwebsh${TCL_DVER}.so.1 \ + ${STAGEDIR}${PREFIX}/lib/libwebsh${TCL_DVER}.so; \ + fi ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC:H:H}/doc/mod_websh/htdocs/*.ws3 \ ${WRKSRC:H:H}/doc/mod_websh/htdocs/*.whtml \ Modified: head/www/websh/pkg-plist ============================================================================== --- head/www/websh/pkg-plist Tue Nov 18 03:14:09 2014 (r372698) +++ head/www/websh/pkg-plist Tue Nov 18 04:28:09 2014 (r372699) @@ -1,10 +1,10 @@ -lib/libwebsh%%TCL_DVER%%.so.1.0 +%%NOMINORVERSION%%lib/libwebsh%%TCL_DVER%%.so.1.0 lib/libwebsh%%TCL_DVER%%.so.1 lib/libwebsh%%TCL_DVER%%.so lib/websh/pkgIndex.tcl lib/websh/htmlhandler.ws3 lib/websh/otherhandler.ws3 -@dirrm lib/websh/ +@dirrm lib/websh etc/websh.conf.dist %%APACHEMODDIR%%/mod_websh.so @exec %D/sbin/apxs -e -A -n websh %D/%F