aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2024-04-01 00:55:05 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2024-04-01 00:55:05 +0000
commit07f3e729804e758ed955bbdebf338132e03af59b (patch)
tree304ee5d7deb7953eb5017933f0c7c299f555e84f
parent8187a8680d0ad0f7f06de6a147e64891ccbe10ad (diff)
downloadports-07f3e729804e758ed955bbdebf338132e03af59b.tar.gz
ports-07f3e729804e758ed955bbdebf338132e03af59b.zip
mail/qmail-conf: fix build on CURRENT
-rw-r--r--mail/qmail-conf/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/qmail-conf/Makefile b/mail/qmail-conf/Makefile
index b0adf41bed08..060c0ebd88e0 100644
--- a/mail/qmail-conf/Makefile
+++ b/mail/qmail-conf/Makefile
@@ -40,6 +40,7 @@ post-patch:
@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
@${ECHO_CMD} "${CC} ${CFLAGS} ${STRIP}" > ${WRKSRC}/conf-ld
@${ECHO_CMD} "${LOCALBASE}" > ${WRKSRC}/conf-ucspi-tcp
+ @${REINPLACE_CMD} "s|extern int errno;|#include <errno.h>|" ${WRKSRC}/${DJBDNS_NAME}/error.h
pre-build:
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \