summaryrefslogtreecommitdiff
path: root/mail/fetchmail
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2022-10-02 21:09:05 -0700
committerCy Schubert <cy@FreeBSD.org>2022-10-02 21:09:05 -0700
commit07a0cf6fe9269ce7445cc1dcd1229f7d597524da (patch)
treecec920fccac6e90de9e2c82f18d6db4fef508795 /mail/fetchmail
parent756375a948e35bcd04627bf5f772508522027040 (diff)
downloadfreebsd-ports-07a0cf6fe9269ce7445cc1dcd1229f7d597524da.zip
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"
Diffstat (limited to 'mail/fetchmail')
-rw-r--r--mail/fetchmail/Makefile7
1 files 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@