svn commit: r463284 - head/security/hmap

Yuri Victorovich yuri at FreeBSD.org
Thu Mar 1 06:59:43 UTC 2018


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


More information about the svn-ports-all mailing list