aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-08-12 19:22:02 +0800
committermarino <marino@FreeBSD.org>2014-08-12 19:22:02 +0800
commitf90d4b96df7d4a1ace85761984deb2938d2b7276 (patch)
treee212571aec593b9bf1fc94d2652f77063c22fe34
parent2cc2b048b8f6cb4308abce3d60f080f2a480c1cf (diff)
downloadfreebsd-ports-gnome-f90d4b96df7d4a1ace85761984deb2938d2b7276.tar.gz
freebsd-ports-gnome-f90d4b96df7d4a1ace85761984deb2938d2b7276.tar.zst
freebsd-ports-gnome-f90d4b96df7d4a1ace85761984deb2938d2b7276.zip
mail/fetchmail: Fix on F10 when system is built without Kerberos
PR: 191978 Submitted by: Jeremy Chadwick Approved by: maintainer (Corey Halpin)
-rw-r--r--mail/fetchmail/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index 30d83740e3fc..b12470ecc6df 100644
--- a/mail/fetchmail/Makefile
+++ b/mail/fetchmail/Makefile
@@ -91,6 +91,11 @@ CONFIGURE_ARGS+= --enable-NTLM
PORTDOCS+= README.NTLM
.endif
+post-patch:
+.if !exists(/usr/lib/libcom_err.so)
+ @${REINPLACE_CMD} -e "s,-lcom_err,,g" ${WRKSRC}/configure
+.endif
+
post-build:
@${MAKE} -C ${WRKSRC} check