mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 11:56:28 -04:00
mail/rmilter: Unbreak on HEAD
- Utilize OPTIONSNG Approved by: portmgr (blanket)
This commit is contained in:
parent
9f4d0f15d3
commit
09308d33eb
1 changed files with 6 additions and 4 deletions
|
@ -28,18 +28,20 @@ OPTIONS_DEFINE= DKIM
|
|||
OPTIONS_DEFAULT= DKIM
|
||||
|
||||
DKIM_DESC= DKIM signing support
|
||||
|
||||
DKIM_LIB_DEPENDS= libopendkim.so:mail/opendkim
|
||||
DKIM_CMAKE_OFF= -DENABLE_DKIM=OFF
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
|
||||
CFLAGS+= -Wno-error=int-conversion
|
||||
.endif
|
||||
|
||||
# Workaround to prevent bsd.milter.mk from breaking the build with the recent clang
|
||||
WITHOUT_MILTER_LDFLAGS= yes
|
||||
.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk"
|
||||
|
||||
.if ! ${PORT_OPTIONS:MDKIM}
|
||||
CMAKE_ARGS+= -DENABLE_DKIM=OFF
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${SED} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
||||
${WRKSRC}/freebsd/rmilter > ${WRKDIR}/rmilter
|
||||
|
|
Loading…
Add table
Reference in a new issue