aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/fsh/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/security/fsh/Makefile b/security/fsh/Makefile
index b5415b59de4f..83de1597cf25 100644
--- a/security/fsh/Makefile
+++ b/security/fsh/Makefile
@@ -13,8 +13,11 @@ MASTER_SITES= http://www.lysator.liu.se/fsh/
MAINTAINER= sumikawa@FreeBSD.org
COMMENT= Fast remote command execution
-BUILD_DEPENDS= python:${PORTSDIR}/lang/python
-
+USE_PYTHON= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
+post-patch:
+ ${REINPLACE_CMD} -e '/^[^#]/s/FCNTL/fcntl/g' ${WRKSRC}/fshcompat.py
+
.include <bsd.port.mk>