git: 07a0cf6fe926 - main - mail/fetchmail: Chase src 0aa2700123e2: Put OPIE to rest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Oct 2022 04:13:52 UTC
The branch main has been updated by cy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=07a0cf6fe9269ce7445cc1dcd1229f7d597524da
commit 07a0cf6fe9269ce7445cc1dcd1229f7d597524da
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-10-03 04:09:05 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-10-03 04:09:05 +0000
mail/fetchmail: Chase src 0aa2700123e2: Put OPIE to rest
As of src 0aa2700123e2 OPIE has been removed from 14-CURRENT. When
building on a 14-CURRENT machine with __FreeBSD_version > 1400071
avoid linking libopie else this will result a build failure or if
built the following runtime error:
ld-elf.so.1: Shared object "libopie.so.8" not found, required by "fetchmail"
---
mail/fetchmail/Makefile | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index 986c83ce944d..996ed531b569 100644
--- a/mail/fetchmail/Makefile
+++ b/mail/fetchmail/Makefile
@@ -1,6 +1,6 @@
PORTNAME?= fetchmail
DISTVERSION= 6.4.33
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= mail
# The next line is inherited by the fetchmailconf dependent port,
# do NOT replace fetchmail by ${PORTNAME}
@@ -27,7 +27,6 @@ GNU_CONFIGURE= yes
# the added PYTHON=: suppresses python builds,
# see ../../mail/fetchmailconf/ for the configuration tool
CONFIGURE_ARGS= --enable-fallback=no \
- --enable-opie \
--enable-RPA \
--enable-SDPS \
--without-hesiod \
@@ -105,6 +104,10 @@ post-install-DOCS-on:
.include <bsd.port.pre.mk>
+.if (${OPSYS} == FreeBSD && ${OSVERSION} < 1400072) || ${OPSYS} != FreeBSD
+CONFIGURE_ARGS+= --enable-opie
+.endif
+
.if ${ARCH:Mpowerpc*} && ${OSREL:R} < 13
# as of 2019-10-02, powerpc's base compiler does not yield a working fetchmail.
# https://svnweb.freebsd.org/ports?view=revision&revision=513614 -- pkubaj@