From owner-svn-ports-all@freebsd.org Tue Feb 9 01:47:28 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 82CC2AA1721; Tue, 9 Feb 2016 01:47:28 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 5BECB769; Tue, 9 Feb 2016 01:47:28 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u191lR6K020129; Tue, 9 Feb 2016 01:47:27 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u191lRpS020125; Tue, 9 Feb 2016 01:47:27 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201602090147.u191lRpS020125@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Tue, 9 Feb 2016 01:47:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408526 - in head/devel/cxxtools: . files 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.20 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, 09 Feb 2016 01:47:28 -0000 Author: amdmi3 Date: Tue Feb 9 01:47:26 2016 New Revision: 408526 URL: https://svnweb.freebsd.org/changeset/ports/408526 Log: - Switch to USES=localbase - Strip libraries - Switch to options helpers - Simplify patches handling Added: head/devel/cxxtools/files/patch-include_cxxtools_char.h - copied, changed from r408525, head/devel/cxxtools/files/patch-clang head/devel/cxxtools/files/patch-src_directoryimpl.cpp - copied, changed from r408525, head/devel/cxxtools/files/patch-src-directoryimpl.cpp head/devel/cxxtools/files/patch-src_tcpsocketimpl.h - copied, changed from r408525, head/devel/cxxtools/files/patch-src-tcpsocketimpl.h Deleted: head/devel/cxxtools/files/patch-clang head/devel/cxxtools/files/patch-src-directoryimpl.cpp head/devel/cxxtools/files/patch-src-tcpsocketimpl.h Modified: head/devel/cxxtools/Makefile Modified: head/devel/cxxtools/Makefile ============================================================================== --- head/devel/cxxtools/Makefile Tue Feb 9 01:43:24 2016 (r408525) +++ head/devel/cxxtools/Makefile Tue Feb 9 01:47:26 2016 (r408526) @@ -3,7 +3,7 @@ PORTNAME= cxxtools PORTVERSION= 2.2.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= http://www.tntnet.org/download/ @@ -13,45 +13,47 @@ COMMENT= Collection of general-purpose C LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING -PATCH_STRIP= -p1 -USES= cpe iconv libtool pathfix +BROKEN_sparc64= does not configure + +USES= cpe iconv libtool localbase pathfix CPE_VENDOR= tntnet USE_CSTD= gnu89 GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +INSTALL_TARGET= install-strip USE_LDCONFIG= yes .include -.if ${ARCH} == "sparc64" -BROKEN= Does not configure on sparc64 -.endif .if ${ARCH} == "amd64" PLIST_SUB+= X86_64_ONLY="" .else PLIST_SUB+= X86_64_ONLY="@comment " .endif + .if ${ARCH} == "i386" PLIST_SUB+= I386_ONLY="" .else PLIST_SUB+= I386_ONLY="@comment " .endif + .if (${ARCH} == "amd64") || (${ARCH} == "i386") PLIST_SUB+= X86_ONLY="" .else PLIST_SUB+= X86_ONLY="@comment " .endif + .if ${ARCH} == "arm" || ${ARCH} == "armv6" PLIST_SUB+= ARM_ONLY="" .else PLIST_SUB+= ARM_ONLY="@comment " .endif + .if ${ARCH} == "mips" || ${ARCH} == "mips64" PLIST_SUB+= MIPS_ONLY="" .else PLIST_SUB+= MIPS_ONLY="@comment " .endif + .if ${ARCH} == "powerpc" || ${ARCH} == "powerpc64" PLIST_SUB+= PPC_ONLY="" .else Copied and modified: head/devel/cxxtools/files/patch-include_cxxtools_char.h (from r408525, head/devel/cxxtools/files/patch-clang) ============================================================================== --- head/devel/cxxtools/files/patch-clang Tue Feb 9 01:43:24 2016 (r408525, copy source) +++ head/devel/cxxtools/files/patch-include_cxxtools_char.h Tue Feb 9 01:47:26 2016 (r408526) @@ -2,8 +2,8 @@ Obtained from: https://github.com/maekitalo/cxxtools/commit/645dedf575da32198ac815655e5c6e5cd5cc4461 ---- a/include/cxxtools/char.h -+++ b/include/cxxtools/char.h +--- include/cxxtools/char.h.orig 2014-01-17 19:05:09 UTC ++++ include/cxxtools/char.h @@ -72,23 +72,8 @@ namespace cxxtools : _value(0) {} Copied and modified: head/devel/cxxtools/files/patch-src_directoryimpl.cpp (from r408525, head/devel/cxxtools/files/patch-src-directoryimpl.cpp) ============================================================================== --- head/devel/cxxtools/files/patch-src-directoryimpl.cpp Tue Feb 9 01:43:24 2016 (r408525, copy source) +++ head/devel/cxxtools/files/patch-src_directoryimpl.cpp Tue Feb 9 01:47:26 2016 (r408526) @@ -1,5 +1,5 @@ ---- a/src/directoryimpl.cpp -+++ b/src/directoryimpl.cpp +--- src/directoryimpl.cpp.orig 2013-12-26 09:33:48 UTC ++++ src/directoryimpl.cpp @@ -27,6 +27,7 @@ */ #include "directoryimpl.h" Copied and modified: head/devel/cxxtools/files/patch-src_tcpsocketimpl.h (from r408525, head/devel/cxxtools/files/patch-src-tcpsocketimpl.h) ============================================================================== --- head/devel/cxxtools/files/patch-src-tcpsocketimpl.h Tue Feb 9 01:43:24 2016 (r408525, copy source) +++ head/devel/cxxtools/files/patch-src_tcpsocketimpl.h Tue Feb 9 01:47:26 2016 (r408526) @@ -1,5 +1,5 @@ ---- a/src/tcpsocketimpl.h -+++ b/src/tcpsocketimpl.h +--- src/tcpsocketimpl.h.orig 2014-01-17 19:05:09 UTC ++++ src/tcpsocketimpl.h @@ -36,6 +36,7 @@ #include #include @@ -7,4 +7,4 @@ +#include #include #include - #include + #include