Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Aug 2019 15:42:24 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r508180 - head/sysutils/procenv
Message-ID:  <201908051542.x75FgON8025311@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Aug  5 15:42:23 2019
New Revision: 508180
URL: https://svnweb.freebsd.org/changeset/ports/508180

Log:
  Unbreak this port

Modified:
  head/sysutils/procenv/Makefile

Modified: head/sysutils/procenv/Makefile
==============================================================================
--- head/sysutils/procenv/Makefile	Mon Aug  5 15:05:59 2019	(r508179)
+++ head/sysutils/procenv/Makefile	Mon Aug  5 15:42:23 2019	(r508180)
@@ -11,8 +11,6 @@ COMMENT=	Utility to show process environment
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BROKEN=		this file includes <sys/capability.h> which is deprecated
-
 BUILD_DEPENDS=	xmlwf:textproc/expat2
 
 USES=		autoreconf gmake perl5
@@ -32,6 +30,7 @@ OPTIONS_DEFINE=	DOCS
 
 post-patch:
 	@${REINPLACE_CMD} -e '/^PKG_/d' ${WRKSRC}/configure.ac
+	@${REINPLACE_CMD} -e 's|sys/capability.h|sys/capsicum.h|' ${WRKSRC}/src/platform-headers.h ${WRKSRC}/src/platform/freebsd/platform-freebsd.h
 
 post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}



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