Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Mar 2018 06:59:42 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r463284 - head/security/hmap
Message-ID:  <201803010659.w216xg3E069562@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Thu Mar  1 06:59:42 2018
New Revision: 463284
URL: https://svnweb.freebsd.org/changeset/ports/463284

Log:
  security/hmap: Unbroke the port
  
  * Fixed the python shebang
  * Added NO_ARCH=yes
  
  Approved by:	tcberner (mentor, implicit)
  Approved by:	portmgr (port compliance, infrastructure)

Modified:
  head/security/hmap/Makefile

Modified: head/security/hmap/Makefile
==============================================================================
--- head/security/hmap/Makefile	Thu Mar  1 06:49:19 2018	(r463283)
+++ head/security/hmap/Makefile	Thu Mar  1 06:59:42 2018	(r463284)
@@ -15,14 +15,14 @@ LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/GPL
 
 USES=		dos2unix python
-
 NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
+NO_ARCH=	yes
 
 OPTIONS_DEFINE=	DOCS
 
 post-patch:
-	${REINPLACE_CMD} -e 's|DATADIR|${DATADIR}|' ${WRKSRC}/hmap.py
+	${REINPLACE_CMD} -e 's|DATADIR|${DATADIR}|; s|#! /usr/bin/env python|#!${PYTHON_CMD}|' ${WRKSRC}/hmap.py
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/hmap.py ${STAGEDIR}${PREFIX}/bin



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