Date: Mon, 12 Apr 2021 16:53:18 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 57de0ecc339a - main - mail/dcc-dccd: fix build on 13.0 Message-ID: <202104121653.13CGrIbu095424@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=57de0ecc339a32d4ca601e67a8cf7f342e9528b3 commit 57de0ecc339a32d4ca601e67a8cf7f342e9528b3 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-04-12 16:52:07 +0000 Commit: Piotr Kubaj <pkubaj@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104121653.13CGrIbu095424>