summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-30 19:38:19 +0100
committerSam James <sam@gentoo.org>2021-06-30 19:38:19 +0100
commitcef6715d153a01312d8dc77aeeb52a37f1bf466a (patch)
tree208064bfa69883c55a0fa13a51930ccb1b1e4ead /www-apache
parentwww-servers/thttpd: add missing libcrypt dependency (diff)
downloadgentoo-cef6715d153a01312d8dc77aeeb52a37f1bf466a.tar.gz
gentoo-cef6715d153a01312d8dc77aeeb52a37f1bf466a.tar.bz2
gentoo-cef6715d153a01312d8dc77aeeb52a37f1bf466a.zip
www-apache/pwauth: add missing libcrypt dependency
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'www-apache')
-rw-r--r--www-apache/pwauth/pwauth-2.3.10-r1.ebuild (renamed from www-apache/pwauth/pwauth-2.3.10.ebuild)21
1 files changed, 11 insertions, 10 deletions
diff --git a/www-apache/pwauth/pwauth-2.3.10.ebuild b/www-apache/pwauth/pwauth-2.3.10-r1.ebuild
index 7e2341f2621a..99e0dfdf3fe0 100644
--- a/www-apache/pwauth/pwauth-2.3.10.ebuild
+++ b/www-apache/pwauth/pwauth-2.3.10-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,7 +14,8 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="faillog pam ignore-case domain-aware"
-DEPEND="pam? ( sys-libs/pam )"
+DEPEND="pam? ( sys-libs/pam )
+ !pam? ( virtual/libcrypt:= )"
RDEPEND="${DEPEND}"
PATCHES=(
@@ -38,24 +39,24 @@ pkg_setup() {
PWAUTH_SERVERUIDS="${PWAUTH_SERVERUIDS:-81}"
PWAUTH_MINUID="${PWAUTH_MINUID:-1000}"
- append-cflags "-DSERVER_UIDS=${PWAUTH_SERVERUIDS}"
- append-cflags "-DMIN_UNIX_UID=${PWAUTH_MINUID}"
+ append-cppflags "-DSERVER_UIDS=${PWAUTH_SERVERUIDS}"
+ append-cppflags "-DMIN_UNIX_UID=${PWAUTH_MINUID}"
if use faillog; then
- append-cflags -DFAILLOG_PWAUTH
- append-cflags "-DPATH_FAILLOG=\"\\\"${PWAUTH_FAILLOG}\\\"\""
+ append-cppflags -DFAILLOG_PWAUTH
+ append-cppflags "-DPATH_FAILLOG=\"\\\"${PWAUTH_FAILLOG}\\\"\""
fi
if use pam; then
- append-cflags -DPAM
+ append-cppflags -DPAM
append-libs pam
else
- append-cflags -DSHADOW_SUN
+ append-cppflags -DSHADOW_SUN
append-libs crypt
fi
- use ignore-case && append-cflags -DIGNORE_CASE
- use domain-aware && append-cflags -DOMAIN_AWARE
+ use ignore-case && append-cppflags -DIGNORE_CASE
+ use domain-aware && append-cppflags -DOMAIN_AWARE
}
src_compile() {