From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jul 30 21:50:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC27D1065674 for ; Wed, 30 Jul 2008 21:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BC3108FC25 for ; Wed, 30 Jul 2008 21:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m6ULo19j017115 for ; Wed, 30 Jul 2008 21:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m6ULo1Ck017114; Wed, 30 Jul 2008 21:50:01 GMT (envelope-from gnats) Resent-Date: Wed, 30 Jul 2008 21:50:01 GMT Resent-Message-Id: <200807302150.m6ULo1Ck017114@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Vaclav Haisman Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A440C106567B for ; Wed, 30 Jul 2008 21:42:12 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 96F048FC20 for ; Wed, 30 Jul 2008 21:42:12 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m6ULgBf3078880 for ; Wed, 30 Jul 2008 21:42:11 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m6ULgBTB078879; Wed, 30 Jul 2008 21:42:11 GMT (envelope-from nobody) Message-Id: <200807302142.m6ULgBTB078879@www.freebsd.org> Date: Wed, 30 Jul 2008 21:42:11 GMT From: Vaclav Haisman To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/126107: Makefile option to use Boost type traits with STLport. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2008 21:50:02 -0000 >Number: 126107 >Category: ports >Synopsis: Makefile option to use Boost type traits with STLport. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 30 21:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Vaclav Haisman >Release: 6.3 >Organization: SU SH >Environment: FreeBSD shell.sh.cvut.cz 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Fri Jan 18 17:04:16 CET 2008 root@shell.sh.cvut.cz:/usr/obj/usr/src/sys/SHELL-SMP i386 >Description: Attached is a patch with adds the option to use Boost type traits in STLport. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/services/cvsupin/ncvs/ports/devel/stlport/Makefile,v retrieving revision 1.48 diff -u -p -d -r1.48 Makefile --- Makefile 25 Jul 2008 09:38:44 -0000 1.48 +++ Makefile 30 Jul 2008 21:32:17 -0000 @@ -36,7 +36,8 @@ PORTDOCS= * OPTIONS= SHORT_STRING_OPTIM "Enable short string optimization." on \ PTR_SPECIALIZATIONS "Use pointer types specializations." off \ - TEMPLATE_EXPRESSION "Use template expressions for string." off + TEMPLATE_EXPRESSION "Use template expressions for string." off \ + BOOST_SUPPORT "Use Boost type traits." off .include @@ -52,6 +53,13 @@ EXTRA_PATCHES+= ${PATCHDIR}/extra-patch- EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-templ-expr-user_config.h.diff .endif +.if defined(WITH_BOOST_SUPPORT) +EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-boost-support-user_config.h.diff +MAKE_ENV+= STLP_BUILD_BOOST_PATH=${LOCALBASE}/include +BUILD_DEPENDS+= ${LOCALBASE}/include/boost/config/stdlib/stlport.hpp:${PORTSDIR}/devel/boost +RUN_DEPENDS+= ${LOCALBASE}/include/boost/config/stdlib/stlport.hpp:${PORTSDIR}/devel/boost +.endif + pre-configure: ${REINPLACE_CMD} -e 's|gcc|${COMPILER}|' ${WRKSRC}/gcc.mak \ ${WRKSRC}/../test/unit/gcc.mak Index: files/extra-patch-boost-support-user_config.h.diff =================================================================== RCS file: files/extra-patch-boost-support-user_config.h.diff diff -N files/extra-patch-boost-support-user_config.h.diff --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/extra-patch-boost-support-user_config.h.diff 30 Jul 2008 21:33:50 -0000 @@ -0,0 +1,14 @@ +--- stlport/stl/config/user_config.h 2008-07-30 22:57:38.719239317 +0200 ++++ stlport/stl/config/user_config.h 2008-07-30 22:58:06.413639084 +0200 +@@ -298,9 +298,9 @@ + * to use this feature at STLport built time you will have to define the + * STLP_BUILD_BOOST_PATH enrironment variable with the value of the boost library path. + */ +-/* ++ + #define _STLP_USE_BOOST_SUPPORT 1 +-*/ ++ + + /*==========================================================*/ + >Release-Note: >Audit-Trail: >Unformatted: