diff options
| author | 2023-05-27 18:08:04 +0100 | |
|---|---|---|
| committer | 2023-05-29 19:18:52 +0100 | |
| commit | e5c74fd99168ba853a2a93b03ae36eba567ae202 (patch) | |
| tree | 7760d4be551c54e0455a6c4cad416060dd72ebe4 /dev-libs/apr/apr-1.7.2.ebuild | |
| parent | dev-lang/perl: drop dead prefix targets (diff) | |
| download | gentoo-e5c74fd99168ba853a2a93b03ae36eba567ae202.tar.gz gentoo-e5c74fd99168ba853a2a93b03ae36eba567ae202.tar.bz2 gentoo-e5c74fd99168ba853a2a93b03ae36eba567ae202.zip | |
dev-libs/apr: drop dead prefix targets
The removal was already done, so this is just cleanup afterwards.
Signed-off-by: Sam James <[email protected]>
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[@]}" |
