svn commit: r366921 - head/security/integrit

Adam Weinberger adamw at FreeBSD.org
Mon Sep 1 18:13:42 UTC 2014


Author: adamw
Date: Mon Sep  1 18:13:41 2014
New Revision: 366921
URL: http://svnweb.freebsd.org/changeset/ports/366921
QAT: https://qat.redports.org/buildarchive/r366921/

Log:
  Fix build on 8 and 9.

Modified:
  head/security/integrit/Makefile

Modified: head/security/integrit/Makefile
==============================================================================
--- head/security/integrit/Makefile	Mon Sep  1 18:12:58 2014	(r366920)
+++ head/security/integrit/Makefile	Mon Sep  1 18:13:41 2014	(r366921)
@@ -9,7 +9,6 @@ MASTER_SITES=	SF
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	File integrity verification program
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 GNU_CONFIGURE=	yes
 ALL_TARGET=	${PORTNAME} utils
 
@@ -20,10 +19,11 @@ INFO=		integrit
 BROKEN_sparc64=	Does not compile on sparc64
 
 post-patch:
-	@${REINPLACE_CMD} -E 's,(infodir|MANDIR)),DESTDIR)$$(&,' \
+	@${REINPLACE_CMD} -E 's,[\({](infodir|MANDIR)[\)}],(DESTDIR)$$&,' \
 		${WRKSRC}/doc/Makefile.in
 	@${REINPLACE_CMD} -E 's,(BIN|SBIN)DIR),DESTDIR)$$(&,' \
 		${WRKSRC}/Makefile.in \
 		${WRKSRC}/utils/Makefile.in
+	@${ECHO_CMD} ".PHONY: utils" >> ${WRKSRC}/Makefile.in
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list