svn commit: r327262 - head/sysutils/fatback

Baptiste Daroussin bapt at FreeBSD.org
Sat Sep 14 10:43:41 UTC 2013


Author: bapt
Date: Sat Sep 14 10:43:40 2013
New Revision: 327262
URL: http://svnweb.freebsd.org/changeset/ports/327262

Log:
  Fix build with clang by removing -Werror

Modified:
  head/sysutils/fatback/Makefile

Modified: head/sysutils/fatback/Makefile
==============================================================================
--- head/sysutils/fatback/Makefile	Sat Sep 14 10:36:25 2013	(r327261)
+++ head/sysutils/fatback/Makefile	Sat Sep 14 10:43:40 2013	(r327262)
@@ -11,7 +11,6 @@ MAINTAINER=	ehaupt at FreeBSD.org
 COMMENT=	Recover deleted files from FAT filesystems
 
 GNU_CONFIGURE=	yes
-USE_GCC=	any
 
 MAN1=		fatback.1
 INFO=		fatback-manual
@@ -22,6 +21,9 @@ OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.options.mk>
 
+post-patch:
+	@${REINPLACE_CMD} -e "s/-Werror//g" ${WRKSRC}/Makefile.in
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1


More information about the svn-ports-all mailing list