www/unit*: fix syntax error
This commit is contained in:
parent
3716d1981f
commit
5953db5520
2 changed files with 7 additions and 5 deletions
|
@ -16,11 +16,6 @@ USE_RC_SUBR?= # reset to empty
|
|||
|
||||
MASTERDIR= ${.CURDIR}/../unit
|
||||
|
||||
# Fix build failure on clang12
|
||||
.if ${OSVERSION} >= 1400023
|
||||
CFLAGS+= -Wno-compound-token-split-by-macro
|
||||
.endif
|
||||
|
||||
post-configure:
|
||||
cd ${CONFIGURE_WRKSRC} && \
|
||||
${CONFIGURE_CMD} perl --module=${UNIT_MODNAME}
|
||||
|
|
|
@ -106,6 +106,13 @@ CONFIGURE_ARGS+=--no-unix-sockets
|
|||
CONFIGURE_ARGS+=--control=unix:${UNIT_SOCK}
|
||||
.endif
|
||||
|
||||
.if defined(UNIT_MODNAME) && ${UNIT_MODNAME:Mperl*}
|
||||
# Fix build failure on clang12
|
||||
.if ${OSVERSION} >= 1400023
|
||||
CFLAGS+= -Wno-compound-token-split-by-macro
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if !target(post-install)
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${UNIT_DBDIR}
|
||||
|
|
Loading…
Reference in a new issue