summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-11-11 09:19:49 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-11-11 09:19:49 +0000
commita89cb8057af6652f6561031a47c3bd1682069050 (patch)
treeff159ea80c9ecfcd5070796d5f776367ff11fe74 /security
parent- Update to version 5.13.4.7.4 (diff)
- Fix running with perl <5.6, on 4.x
- Bump PORTREVISION PR: 59104 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=93729
Diffstat (limited to 'security')
-rw-r--r--security/makepasswd/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/makepasswd/Makefile b/security/makepasswd/Makefile
index 95f887ed9136..eca0bcde2373 100644
--- a/security/makepasswd/Makefile
+++ b/security/makepasswd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= makepasswd
PORTVERSION= 1.10
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR= pool/main/m/makepasswd
@@ -34,7 +34,8 @@ DOCS= CHANGES README
.include <bsd.port.pre.mk>
-pre-patch:
+post-patch:
+ ${REINPLACE_CMD} -e "s/use bytes;/#use bytes;/" ${WRKSRC}/makepasswd
${REINPLACE_CMD} -e "s/\/dev\/random/\/dev\/urandom/" ${WRKSRC}/makepasswd
${REINPLACE_CMD} -e "s/\/dev\/random/\/dev\/urandom/" ${WRKSRC}/makepasswd.1