git: 57de0ecc339a - main - mail/dcc-dccd: fix build on 13.0
Piotr Kubaj
pkubaj at FreeBSD.org
Mon Apr 12 16:53:18 UTC 2021
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=57de0ecc339a32d4ca601e67a8cf7f342e9528b3
commit 57de0ecc339a32d4ca601e67a8cf7f342e9528b3
Author: Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-04-12 16:52:07 +0000
Commit: Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-04-12 16:52:07 +0000
mail/dcc-dccd: fix build on 13.0
PR: 252996
---
mail/dcc-dccd/Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/mail/dcc-dccd/Makefile b/mail/dcc-dccd/Makefile
index d83b793036cc..4889715002cc 100644
--- a/mail/dcc-dccd/Makefile
+++ b/mail/dcc-dccd/Makefile
@@ -67,6 +67,8 @@ IPV6_CONFIGURE_OFF= --disable-IPv6
PORTS_MILTER_BUILD_DEPENDS= ${LOCALBASE}/lib/libmilter.a:mail/libmilter
PORTS_MILTER_CONFIGURE_ON= --with-sendmail=yes
+CFLAGS+= -fcommon
+
## User for DCC files and SUID binaries
#
DCCUSER?= dcc
@@ -98,8 +100,8 @@ PLIST_SUB+= IFD_MILT="@comment "
post-patch:
${REINPLACE_CMD} -e 's,md5.c ,,' ${WRKSRC}/clntlib/Makefile.in
- ${REINPLACE_CMD} -e 's,^\(BININSTALL.*\),\1 -s,p' \
- -e 's,^BIN\(INSTALL\s*=\s*.*\) -s$$,SCRIPT\1,' ${WRKSRC}/Makefile.inc.in
+ ${REINPLACE_CMD} -E -e 's,^(BININSTALL.*),\1 -s,p' \
+ -e 's,^BIN(INSTALL[:space:]*=[:space:]*.*) -s$$,SCRIPT\1,' ${WRKSRC}/Makefile.inc.in
${REINPLACE_CMD} -e 's,BININSTALL,SCRIPTINSTALL,g' \
${WRKSRC}/homedir/Makefile.in ${WRKSRC}/misc/Makefile.in
More information about the dev-commits-ports-all
mailing list