1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Fix building with Clang on 10.0+

This commit is contained in:
Mark Felder 2014-06-10 13:09:09 +00:00
parent f25a478d63
commit 39ea39878d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357309

View File

@ -12,6 +12,9 @@ COMMENT= Spam relay database
PLIST_FILES= bin/relaydb \
man/man8/relaydb.8.gz
post-patch:
${REINPLACE_CMD} 's|-Werror|-Wno-error|' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/relaydb ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/relaydb.8.gz ${STAGEDIR}${MAN8PREFIX}/man/man8