Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2014 13:09:10 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r357309 - head/mail/relaydb
Message-ID:  <201406101309.s5AD9AW4095595@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Tue Jun 10 13:09:09 2014
New Revision: 357309
URL: http://svnweb.freebsd.org/changeset/ports/357309
QAT: https://qat.redports.org/buildarchive/r357309/

Log:
  Fix building with Clang on 10.0+

Modified:
  head/mail/relaydb/Makefile

Modified: head/mail/relaydb/Makefile
==============================================================================
--- head/mail/relaydb/Makefile	Tue Jun 10 12:58:18 2014	(r357308)
+++ head/mail/relaydb/Makefile	Tue Jun 10 13:09:09 2014	(r357309)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406101309.s5AD9AW4095595>