rename devel/libboost to libboost64

This commit is contained in:
ziggi
2019-12-27 13:13:23 +00:00
parent e3ed0c51c9
commit 89cad7d166
11 changed files with 0 additions and 13963 deletions

View File

@@ -1,91 +0,0 @@
#
# $Id$
#
PORTNAME= libboost
PORTVERSION= 1.64.0
PORTVERSUFFIX= ${PORTVERSION:C/\.[0-9]+$//}
DISTNAME= boost_${PORTVERSION:S/./_/g}
CATEGORIES= devel
MASTER_SITES= SF/boost/boost/${PORTVERSION}
COMMENT= Free portable C++ libraries (without Boost.Python)
MAINTAINER= onborodin@gmail.com
PREFIX= ${LOCALBASE}/boost64
LIB_DEPENDS+= libicui18n.so:devel/libicu
USE_BZIP2= yes
USE_LDCONFIG= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
#MAKE_JOBS_SAFE= yes
#BJAM= bjam
CXXFLAGS+= -Wno-long-long
BJAM_ARGS+= optimization=speed
BJAM_ARGS= --layout=system
BJAM_ARGS= --disable-long-double
###BJAM_ARGS+= --build-type=complete
BJAM_ARGS+= --without-python
BJAM_ARGS+= --without-mpi
BJAM_ARGS+= -d2
BJAM_ARGS+= variant=release
BJAM_ARGS+= threading=multi
BJAM_ARGS+= link=shared,static
BJAM_ARGS+= -sICU_PATH=${LOCALBASE}
#BJAM_ARGS+= -sICONV_PATH=${LOCALBASE}
#BJAM_ARGS+= instruction-set=i586
BJAM_ARGS+= cxxflags="${CXXFLAGS:N-O*}" cflags="${CFLAGS:N-O*}"
#BOOST_TOOLSET= ${CHOSEN_COMPILER_TYPE}
BOOST_TOOLSET= clang
BJAM_ARGS+= --toolset=${BOOST_TOOLSET}
CXXFLAGS+= -fPIC
CPPFLAGS+= -pthread -fPIC
CFLAGS+= -pthread -fPIC
LDFLAGS+= -pthread
CC= clang
CXX= clang++
BJAM= ${WRKSRC}/bjam
CHOSEN_COMPILER_TYPE= clang
BOOST_TOOLSET= ${CHOSEN_COMPILER_TYPE}
post-patch:
.if defined(USE_BINUTILS)
${ECHO} "using ${BOOST_TOOLSET} : : ${CXX} : <linkflags>-B${LOCALBASE}/bin ;" >> ${WRKSRC}/tools/build/src/user-config.jam
.else
${ECHO} "using ${BOOST_TOOLSET} : : ${CXX} ;" >> ${WRKSRC}/tools/build/src/user-config.jam
.endif
do-configure:
cd ${WRKSRC} && ${MAKE_ENV} ./bootstrap.sh --prefix=${PREFIX} --with-toolset=${BOOST_TOOLSET}
do-build:
cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${BJAM} ${BJAM_ARGS} --prefix=${PREFIX} -j${MAKE_JOBS_NUMBER} stage
do-install:
cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${BJAM} --prefix=${STAGEDIR}${PREFIX} ${BJAM_ARGS} install
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/bin
# tools/build/src/engine/bin.freebsdx86_64
${INSTALL_PROGRAM} ${WRKSRC}/tools/build/src/engine/bin.*/bjam \
${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>
#EOF

View File

@@ -1,2 +0,0 @@
SHA256 (boost_1_64_0.tar.gz) = 0445c22a5ef3bd69f5dfb48354978421a85ab395254a26b1ffb0aa1bfd63a108
SIZE (boost_1_64_0.tar.gz) = 95317845

View File

@@ -1,34 +0,0 @@
--- boost/config/compiler/clang.hpp.orig 2016-09-21 14:33:21 UTC
+++ boost/config/compiler/clang.hpp
@@ -110,6 +110,16 @@
# endif
#endif
+//
+// Pick up _LIBCPP_VERSION definition if we are using libc++
+// If _LIBCPP_VERSION is not defined, then we will assume that
+// we are compiling on FreeBSD 9.x and using ancient libstdc++
+// from base gcc 4.2 with limited c++11 support.
+//
+#ifdef __cplusplus
+# include <ciso646>
+#endif
+
#if !__has_feature(cxx_auto_type)
# define BOOST_NO_CXX11_AUTO_DECLARATIONS
# define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
@@ -192,7 +202,13 @@
# define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
#endif
-#if !__has_feature(cxx_rvalue_references)
+//
+// clang on FreeBSD 9.x uses libstdc++ from base GCC 4.2.1 which
+// does not support std::forward which this feature requires.
+// Assume that the lack of a _LIBCPP_VERSION definition indicates
+// that is our environment.
+//
+#if !__has_feature(cxx_rvalue_references) || !defined(_LIBCPP_VERSION)
# define BOOST_NO_CXX11_RVALUE_REFERENCES
#endif

View File

@@ -1,11 +0,0 @@
--- boost/math/tools/config.hpp.orig 2016-09-21 14:33:24 UTC
+++ boost/math/tools/config.hpp
@@ -28,7 +28,7 @@
#include <boost/math/tools/user.hpp>
-#if (defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__NetBSD__) \
+#if (defined(__CYGWIN__) || defined(__NetBSD__) \
|| (defined(__hppa) && !defined(__OpenBSD__)) || (defined(__NO_LONG_DOUBLE_MATH) && (DBL_MANT_DIG != LDBL_MANT_DIG))) \
&& !defined(BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS)
# define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS

View File

@@ -1,14 +0,0 @@
https://svn.boost.org/trac/boost/ticket/12982
https://github.com/boostorg/serialization/commit/1d8626158123
--- boost/serialization/array.hpp.orig 2017-04-17 02:22:24 UTC
+++ boost/serialization/array.hpp
@@ -23,6 +23,8 @@ namespace std{
} // namespace std
#endif
+#include <boost/serialization/array_wrapper.hpp>
+
#ifndef BOOST_NO_CXX11_HDR_ARRAY
#include <array>

View File

@@ -1,92 +0,0 @@
--- tools/build/src/tools/clang-linux.jam.orig 2017-04-17 02:22:26 UTC
+++ tools/build/src/tools/clang-linux.jam
@@ -31,7 +31,7 @@ generators.override clang-linux.compile.c.pch : pch.
generators.override clang-linux.compile.c++.pch : pch.default-cpp-pch-generator ;
type.set-generated-target-suffix PCH
- : <toolset>clang <toolset-clang:platform>linux : pth ;
+ : <toolset>clang <toolset-clang:platform>linux : pch ;
toolset.inherit-rules clang-linux : gcc ;
toolset.inherit-flags clang-linux : gcc
@@ -96,24 +96,24 @@ rule compile.c++ ( targets * : sources * : properties
gcc.setup-fpic $(targets) : $(sources) : $(properties) ;
gcc.setup-address-model $(targets) : $(sources) : $(properties) ;
- local pth-file = [ on $(<) return $(PCH_FILE) ] ;
+ local pch-file = [ on $(<) return $(PCH_FILE) ] ;
- if $(pth-file) {
- DEPENDS $(<) : $(pth-file) ;
+ if $(pch-file) {
+ DEPENDS $(<) : $(pch-file) ;
clang-linux.compile.c++.with-pch $(targets) : $(sources) ;
}
else {
- clang-linux.compile.c++.without-pth $(targets) : $(sources) ;
+ clang-linux.compile.c++.without-pch $(targets) : $(sources) ;
}
}
-actions compile.c++.without-pth {
+actions compile.c++.without-pch {
"$(CONFIG_COMMAND)" -c -x c++ $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -o "$(<)" "$(>)"
}
actions compile.c++.with-pch bind PCH_FILE
{
- "$(CONFIG_COMMAND)" -c -x c++ $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -include-pth -Xclang "$(PCH_FILE)" -o "$(<)" "$(>)"
+ "$(CONFIG_COMMAND)" -c -x c++ $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -include-pch -Xclang "$(PCH_FILE)" -o "$(<)" "$(>)"
}
rule compile.c ( targets * : sources * : properties * )
@@ -122,25 +122,25 @@ rule compile.c ( targets * : sources * : properties *
gcc.setup-fpic $(targets) : $(sources) : $(properties) ;
gcc.setup-address-model $(targets) : $(sources) : $(properties) ;
- local pth-file = [ on $(<) return $(PCH_FILE) ] ;
+ local pch-file = [ on $(<) return $(PCH_FILE) ] ;
- if $(pth-file) {
- DEPENDS $(<) : $(pth-file) ;
+ if $(pch-file) {
+ DEPENDS $(<) : $(pch-file) ;
clang-linux.compile.c.with-pch $(targets) : $(sources) ;
}
else {
- clang-linux.compile.c.without-pth $(targets) : $(sources) ;
+ clang-linux.compile.c.without-pch $(targets) : $(sources) ;
}
}
-actions compile.c.without-pth
+actions compile.c.without-pch
{
"$(CONFIG_COMMAND)" -c -x c $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)"
}
actions compile.c.with-pch bind PCH_FILE
{
- "$(CONFIG_COMMAND)" -c -x c $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -include-pth -Xclang "$(PCH_FILE)" -c -o "$(<)" "$(>)"
+ "$(CONFIG_COMMAND)" -c -x c $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -include-pch -Xclang "$(PCH_FILE)" -c -o "$(<)" "$(>)"
}
###############################################################################
@@ -153,7 +153,7 @@ rule compile.c++.pch ( targets * : sources * : propert
}
actions compile.c++.pch {
- rm -f "$(<)" && "$(CONFIG_COMMAND)" -c -x c++-header $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -emit-pth -o "$(<)" "$(>)"
+ rm -f "$(<)" && "$(CONFIG_COMMAND)" -c -x c++-header $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -emit-pch -o "$(<)" "$(>)"
}
rule compile.c.pch ( targets * : sources * : properties * ) {
@@ -164,7 +164,7 @@ rule compile.c.pch ( targets * : sources * : propertie
actions compile.c.pch
{
- rm -f "$(<)" && "$(CONFIG_COMMAND)" -c -x c-header $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -emit-pth -o "$(<)" "$(>)"
+ rm -f "$(<)" && "$(CONFIG_COMMAND)" -c -x c-header $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -emit-pch -o "$(<)" "$(>)"
}
###############################################################################

View File

@@ -1,32 +0,0 @@
Adding /usr/lib32 to LD_LIBRARY_PATH may be poisonous if /usr/lib64
doesn't exist while /usr/lib only constains .so but not .so.SOVERSION
files. Besides, LD_LIBRARY_PATH + -Wl,-rpath-link is same as -Wl,-rpath
that USE_GCC already passes.
--- tools/build/src/tools/gcc.jam.orig 2016-09-21 14:33:28 UTC
+++ tools/build/src/tools/gcc.jam
@@ -210,24 +210,6 @@ rule init ( version ? : command * : options * )
}
init-link-flags gcc $(linker) $(condition) ;
- # If gcc is installed in a non-standard location, we would need to add
- # LD_LIBRARY_PATH when running programs created with it (for unit-test/run
- # rules).
- if $(command)
- {
- # On multilib 64-bit boxes, there are both 32-bit and 64-bit libraries
- # and all must be added to LD_LIBRARY_PATH. The linker will pick the
- # right onces. Note that we do not provide a clean way to build a 32-bit
- # binary using a 64-bit compiler, but user can always pass -m32
- # manually.
- local lib_path = $(root)/bin $(root)/lib $(root)/lib32 $(root)/lib64 ;
- if $(.debug-configuration)
- {
- ECHO notice: using gcc libraries :: $(condition) :: $(lib_path) ;
- }
- toolset.flags gcc.link RUN_PATH $(condition) : $(lib_path) ;
- }
-
# If we are not using a system gcc installation we should adjust the various
# programs as needed to prefer using their installation specific versions.
# This is essential for correct use of MinGW and for cross-compiling.

View File

@@ -1,15 +0,0 @@
--- ./boostcpp.jam.orig 2013-09-21 23:17:00.000000000 +0300
+++ ./boostcpp.jam 2015-03-22 14:36:19.076611000 +0200
@@ -155,7 +156,11 @@
! [ $(property-set).get <target-os> ] in windows cygwin darwin aix &&
! [ $(property-set).get <toolset> ] in pgi
{
- result = $(result).$(BOOST_VERSION) ;
+
+ local my_version = [ MATCH ^([^.]+)[.]([^.]+)[.]([^.]+) : $(BOOST_VERSION)
+ ] ;
+ result = $(result).$(my_version[2]) ;
+
}
return $(result) ;

View File

@@ -1,39 +0,0 @@
--- ./tools/build/src/tools/stage.jam.orig 2013-05-21 07:14:18.000000000 +0300
+++ ./tools/build/src/tools/stage.jam 2015-03-22 15:40:43.144773000 +0200
@@ -482,6 +482,36 @@
}
}
+
+ local m = [ MATCH
+ (.*)\\.([0123456789]+)$ :
+ [ $(copied).name ] ] ;
+ if $(m)
+ {
+ # Symlink without version at all is used to make
+ # -lsome_library work.
+ result += [ stage.symlink $(m[1]) : $(project) : $(copied) :
+ $(property-set) ] ;
+
+ # Symlinks of some libfoo.N and libfoo.N.M are used so that
+ # library can found at runtime, if libfoo.N.M.X has soname of
+ # libfoo.N. That happens when the library makes some binary
+ # compatibility guarantees. If not, it is possible to skip those
+ # symlinks.
+ local suppress = [ $(property-set).get
+ <install-no-version-symlinks> ] ;
+
+ if $(suppress) != "on"
+ {
+ result += [ stage.symlink $(m[1]).$(m[2]) : $(project) :
+ $(copied) : $(property-set) ] ;
+ result += [ stage.symlink $(m[1]).$(m[2]).$(m[3]) :
+ $(project) : $(copied) : $(property-set) ] ;
+ }
+ }
+
+
+
return $(result) ;
}
}

View File

@@ -1,19 +0,0 @@
Boost provides free peer-reviewed portable C++ source libraries.
The emphasis is on libraries that work well with the C++ Standard
Library. Boost libraries are intended to be widely useful, and usable
across a broad spectrum of applications. The Boost license encourages
both commercial and non-commercial use.
The goal is to establish "existing practice" and provide reference
implementations so that Boost libraries are suitable for eventual
standardization. Ten Boost libraries are already included in the C++
Standards Committee's Library Technical Report (TR1) and will be in
the new C++0x Standard now being finalized. C++0x will also include
several more Boost libraries in addition to those from TR1. More Boost
libraries are proposed for TR2.
NOTE: This package does not contain Boost.Python, it's in
'devel/boost-python-libs'.
WWW: http://www.boost.org/

File diff suppressed because it is too large Load Diff