aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qmail
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-10-28 17:57:30 +0800
committergarga <garga@FreeBSD.org>2005-10-28 17:57:30 +0800
commite41735ff5b349cadbc5b4b30ab738b78187e4703 (patch)
tree9a96a653599864d2069d521f169a7ea6ff0cac5c /mail/qmail
parent233f51f2f2709024edcb06278fafabfc44594497 (diff)
downloadfreebsd-ports-gnome-e41735ff5b349cadbc5b4b30ab738b78187e4703.tar.gz
freebsd-ports-gnome-e41735ff5b349cadbc5b4b30ab738b78187e4703.tar.zst
freebsd-ports-gnome-e41735ff5b349cadbc5b4b30ab738b78187e4703.zip
- Remove redeclaration of strerror(), that was breaking the port.
Reported by: oliver
Diffstat (limited to 'mail/qmail')
-rw-r--r--mail/qmail/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile
index 2f5866e8e5d6..3964bb0b61f3 100644
--- a/mail/qmail/Makefile
+++ b/mail/qmail/Makefile
@@ -523,6 +523,8 @@ post-patch:
${WRKDIR}/TLS.readme
@${REINPLACE_CMD} "s|/usr/local/ssl|${OPENSSLBASE}|" \
${WRKSRC}/Makefile
+ @${REINPLACE_CMD} "/^const char \*strerror/d" \
+ ${WRKSRC}/tls.c
.elif defined(SLAVE_LDAP)
@${REINPLACE_CMD} "s|^LDAPLIBS=-L/usr/local/lib|LDAPLIBS=-L${LOCALBASE}/lib|; \
s|^LDAPINCLUDES=-I/usr/local/include|LDAPINCLUDES=-I${LOCALBASE}/include|" \