commit: 780a383cf7e850ceb98c3c4de193e0703864fe35
parent: 6474bd538ebe9b2376d21f16f510a97f884925bd
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 3 Dec 2018 13:50:40 +0100
mail-mta/opensmtpd: Fix libexec path for sure
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mail-mta/opensmtpd/opensmtpd-6.4.0_p2.ebuild b/mail-mta/opensmtpd/opensmtpd-6.4.0_p2.ebuild
@@ -49,6 +49,7 @@ S=${WORKDIR}/${MY_P/_}
src_prepare() {
# Use /run instead of /var/run
sed -i -e '/pidfile_path/s:_PATH_VARRUN:"/run/":' openbsd-compat/pidfile.c || die
+ sed -i -e 's;/usr/libexec/;/usr/libexec/opensmtpd/;g' smtpd/parse.y || die
epatch "${FILESDIR}/opensmtpd-6.4.0_p1_missing_object_file_smtpctl.patch"
append-cflags "-ffunction-sections"
append-ldflags "-Wl,--gc-sections"
@@ -66,7 +67,6 @@ src_configure() {
--with-path-socket=/run \
--with-path-CAfile=/etc/ssl/certs/ca-certificates.crt \
--sysconfdir=/etc/opensmtpd \
- --libexecdir=/usr/libexec \
--with-mantype=doc \
$(use_with pam auth-pam)
}