diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-29 21:18:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-29 21:18:33 +0100 |
commit | 63a4617476a3b084928b38d816b9ed6e196d62f5 (patch) | |
tree | f1c7e30e8c9b33d9f7e7b0a2e3dbd1d1121358c4 /dev-libs/apr/apr-1.7.2.ebuild | |
parent | 662f71ae67cd775d7fbb79b5091676c0e07a992b (diff) |
gentoo auto-resync : 29:05:2023 - 21:18:33
Diffstat (limited to 'dev-libs/apr/apr-1.7.2.ebuild')
-rw-r--r-- | dev-libs/apr/apr-1.7.2.ebuild | 35 |
1 files changed, 6 insertions, 29 deletions
diff --git a/dev-libs/apr/apr-1.7.2.ebuild b/dev-libs/apr/apr-1.7.2.ebuild index 13fff2505e42..2bac56d69761 100644 --- a/dev-libs/apr/apr-1.7.2.ebuild +++ b/dev-libs/apr/apr-1.7.2.ebuild @@ -31,7 +31,6 @@ BDEPEND=" DOCS=( CHANGES NOTICE README ) PATCHES=( - "${FILESDIR}"/${PN}-1.5.0-mint.patch "${FILESDIR}"/${PN}-1.6.3-skip-known-failing-tests.patch "${FILESDIR}"/${PN}-1.7.2-libtool.patch "${FILESDIR}"/${PN}-1.7.2-sysroot.patch # bug #385775 @@ -95,38 +94,16 @@ src_configure() { if use urandom; then myconf+=( --with-devrandom=/dev/urandom ) - elif (( ${CHOST#*-hpux11.} <= 11 )); then - : # no /dev/*random on hpux11.11 and before, apr detects this. else myconf+=( --with-devrandom=/dev/random ) fi - # shl_load does not search runpath, but hpux11 supports dlopen - if [[ ${CHOST} == *-hpux11* ]]; then - myconf+=( --enable-dso=dlfcn ) - elif [[ ${CHOST} == *-solaris2.10 ]]; then - local atomic_contents=$(<$([[ ${CHOST} != ${CBUILD} ]] && echo "${EPREFIX}/usr/${CHOST}")/usr/include/atomic.h) - - case "${atomic_contents}" in - *atomic_cas_ptr*) - ;; - *) - local patch_id=$([[ ${CHOST} == sparc* ]] && echo 118884 || echo 118885) - - elog "You do not have Solaris Patch ID ${patch_id} (Problem 4954703) installed on your host ($(hostname))," - elog "using generic atomic operations instead." - - myconf+=( --disable-nonportable-atomics ) - ;; - esac - else - if use ppc || use sparc || use mips; then - # Avoid libapr containing undefined references (underlinked) - # undefined reference to `__sync_val_compare_and_swap_8' - # (May be possible to fix via libatomic linkage in future?) - # bug #740464 - myconf+=( --disable-nonportable-atomics ) - fi + if use ppc || use sparc || use mips; then + # Avoid libapr containing undefined references (underlinked) + # undefined reference to `__sync_val_compare_and_swap_8' + # (May be possible to fix via libatomic linkage in future?) + # bug #740464 + myconf+=( --disable-nonportable-atomics ) fi econf "${myconf[@]}" |