aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-11-11 17:19:49 +0800
committerkrion <krion@FreeBSD.org>2003-11-11 17:19:49 +0800
commit97f715a1ff39b2e49570c1ebf35d4ff26a708a7c (patch)
tree7636f44b49c52a121ff070136075f21b3f88588b /security
parent71e297b324c07a320d79cf16ed40aaef0c989437 (diff)
downloadfreebsd-ports-gnome-97f715a1ff39b2e49570c1ebf35d4ff26a708a7c.tar.gz
freebsd-ports-gnome-97f715a1ff39b2e49570c1ebf35d4ff26a708a7c.tar.zst
freebsd-ports-gnome-97f715a1ff39b2e49570c1ebf35d4ff26a708a7c.zip
- Fix running with perl <5.6, on 4.x
- Bump PORTREVISION PR: 59104 Submitted by: maintainer
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