summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2016-07-09 20:52:05 -0700
committerZac Medico <zmedico@gentoo.org>2016-07-09 20:54:18 -0700
commitf161850d7a477ceb40abeeacf97f695b3d4f0e95 (patch)
treee483b9d24fc7b74ab44b0d6259d77fe63bdb4a77 /net-fs
parentsys-apps/memtest86+: Update 39_memtest86+ to support grub submenus (diff)
downloadgentoo-f161850d7a477ceb40abeeacf97f695b3d4f0e95.tar.gz
gentoo-f161850d7a477ceb40abeeacf97f695b3d4f0e95.tar.bz2
gentoo-f161850d7a477ceb40abeeacf97f695b3d4f0e95.zip
net-fs/samba: prefix fixes
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/samba/samba-4.4.5.ebuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/net-fs/samba/samba-4.4.5.ebuild b/net-fs/samba/samba-4.4.5.ebuild
index b865e71b2c04..2aa153755540 100644
--- a/net-fs/samba/samba-4.4.5.ebuild
+++ b/net-fs/samba/samba-4.4.5.ebuild
@@ -57,7 +57,7 @@ CDEPEND="${PYTHON_DEPS}
>=sys-libs/tdb-1.3.8[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}]
>=sys-libs/tevent-0.9.28[${MULTILIB_USEDEP}]
sys-libs/zlib[${MULTILIB_USEDEP}]
- virtual/pam
+ pam? ( virtual/pam )
acl? ( virtual/acl )
addns? ( net-dns/bind-tools[gssapi] )
cluster? ( !dev-db/ctdb )
@@ -115,10 +115,10 @@ multilib_src_configure() {
local myconf=()
myconf=(
--enable-fhs
- --sysconfdir=/etc
- --localstatedir=/var
- --with-modulesdir=/usr/$(get_libdir)/samba
- --with-piddir=/run/${PN}
+ --sysconfdir="${EPREFIX}/etc"
+ --localstatedir="${EPREFIX}/var"
+ --with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba"
+ --with-piddir="${EPREFIX}/run/${PN}"
--bundled-libraries=NONE
--builtin-libraries=NONE
--disable-rpath
@@ -142,7 +142,7 @@ multilib_src_configure() {
$(use_enable iprint)
$(use_with ldap)
$(use_with pam)
- $(usex pam "--with-pammodulesdir=/$(get_libdir)/security" '')
+ $(usex pam "--with-pammodulesdir=${EPREFIX}/$(get_libdir)/security" '')
$(use_with quota quotas)
$(use_with syslog)
$(use_with systemd)
@@ -175,7 +175,7 @@ multilib_src_configure() {
)
fi
- CPPFLAGS="-I${SYSROOT}/usr/include/et ${CPPFLAGS}" \
+ CPPFLAGS="-I${SYSROOT}${EPREFIX}/usr/include/et ${CPPFLAGS}" \
waf-utils_src_configure ${myconf[@]}
}