summaryrefslogtreecommitdiff
path: root/dev-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/asio/Manifest2
-rw-r--r--dev-cpp/asio/asio-1.38.0.ebuild (renamed from dev-cpp/asio/asio-1.34.2.ebuild)30
2 files changed, 19 insertions, 13 deletions
diff --git a/dev-cpp/asio/Manifest b/dev-cpp/asio/Manifest
index 96e67bfa77be..db6b930e0d7f 100644
--- a/dev-cpp/asio/Manifest
+++ b/dev-cpp/asio/Manifest
@@ -1,2 +1,2 @@
-DIST asio-1-34-2.tar.gz 2850228 BLAKE2B 4aa1c268afffe4bb0b66973132b18c8aadbf2d85b277886a6ca224452a4fd4254ec8afde7b4656fb9858319f28910bf439a5a8b7aa7d17acdfce65cf7d8ff279 SHA512 53485e18a89140039db3b5c34d0feb6065db48eb805eb4b0eae85c0b20b59a2a299841a5e128e670faff17a9fa5df7bbdaafa31aa2e46d62d32db7f720b21c86
DIST asio-1-36-0.tar.gz 2858525 BLAKE2B 6b3a85e88509dd0184db7f3448be07e31a614709b16f4bec69e187f8bc450b08ec56dd0018e941d5509c65090e7f31a5ae9fb44220c00d8d7c7ce8cf27e3d960 SHA512 d44b35d9d1900de35aa10bf339c7e16a06e110377fd70fbefba91599d24cff32cc3dc88a4b0bf1e1706f9ac46177982edb5c7f969b72a57123be6550a3b062d8
+DIST asio-1-38-0.tar.gz 2890996 BLAKE2B 23df98b87aaff488127901a19373872903a61e0b74bd17e83dbf535da02f1433b89be1d9501a8b95528789036c02bb678f641a08c64cc583f96839b303d90900 SHA512 88a71de9da318ad047effb3f1594617eba6996d443e885757bb301107bc51232e5338bde1a0df84b25bacb794805353ca409a1b641dadeb7fbcffbd6770ba29b
diff --git a/dev-cpp/asio/asio-1.34.2.ebuild b/dev-cpp/asio/asio-1.38.0.ebuild
index 801fed872e6d..511958477be3 100644
--- a/dev-cpp/asio/asio-1.34.2.ebuild
+++ b/dev-cpp/asio/asio-1.38.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021-2025 Liguros Authors
+# Copyright 2021-2026 Liguros Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -14,22 +14,22 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="doc examples libressl ssl test"
RESTRICT="!test? ( test )"
-# test searches for libssl during ./configure, and REQUIRED_USE is easier than
-# patching configure to not search for it with USE=-ssl
-REQUIRED_USE="test? ( ssl )"
-RDEPEND="dev-libs/boost:=
- ssl? (
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( >=dev-libs/libressl-3.5.0:0= )
- )"
-DEPEND="${RDEPEND}"
+DEPEND="
+ test? (
+ dev-libs/boost
+ ssl? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( >=dev-libs/libressl-3.5.0:0= )
+ )
+ )
+"
+BDEPEND="virtual/pkgconfig"
-S=${WORKDIR}/${PN}-${PN}-${MY_PV}/asio
+S=${WORKDIR}/${PN}-${PN}-${MY_PV}/
src_prepare() {
default
-
eautoreconf
if ! use test; then
@@ -54,5 +54,11 @@ src_install() {
emake clean
dodoc -r src/examples
docompress -x /usr/share/doc/${PF}/examples
+
+ # Make links to the example .cpp files work
+ # https://bugs.gentoo.org/828648
+ if use doc; then
+ dosym ../examples /usr/share/doc/${PF}/src/examples
+ fi
fi
}