summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/debootstrap/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysutils/debootstrap/Makefile b/sysutils/debootstrap/Makefile
index 09cfc7e65b1c..d8934457e10e 100644
--- a/sysutils/debootstrap/Makefile
+++ b/sysutils/debootstrap/Makefile
@@ -2,7 +2,7 @@
PORTNAME= debootstrap
PORTVERSION= 1.0.123
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= sysutils
MASTER_SITES= DEBIAN
DISTNAME= ${PORTNAME}_${PORTVERSION}
@@ -15,6 +15,7 @@ LICENSE_FILE= ${WRKSRC}/debian/copyright
RUN_DEPENDS= wget:ftp/wget \
bash:shells/bash \
+ ${LOCALBASE}/bin/grep:textproc/gnugrep \
gpgv2:security/gnupg \
${LOCALBASE}/share/keyrings/ubuntu-archive-keyring.gpg:security/ubuntu-keyring
@@ -41,6 +42,10 @@ post-patch:
@${FIND} ${WRKSRC}/scripts -type f | \
${XARGS} ${REINPLACE_CMD} -e 's,/usr/share/keyrings,${LOCALBASE}/share/keyrings,g'
+ # Workaround for bin/255525
+ @${REINPLACE_CMD} -e 's,grep,${LOCALBASE}/bin/grep,g' \
+ ${WRKSRC}/functions
+
post-install:
${INSTALL_MAN} ${WRKSRC}/debootstrap.8 \
${STAGEDIR}${MAN8PREFIX}/man/man8/debootstrap.8