aboutsummaryrefslogtreecommitdiff
path: root/misc/patchutils
diff options
context:
space:
mode:
Diffstat (limited to 'misc/patchutils')
-rw-r--r--misc/patchutils/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/misc/patchutils/Makefile b/misc/patchutils/Makefile
index 7710ba191bf3..9b0fdc696bea 100644
--- a/misc/patchutils/Makefile
+++ b/misc/patchutils/Makefile
@@ -14,11 +14,17 @@ MASTER_SITES= http://cyberelk.net/tim/data/patchutils/stable/
MAINTAINER= ports@FreeBSD.org
+RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2
+
USE_BZIP2= yes
+USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
MAN1= combinediff.1 editdiff.1 filterdiff.1 fixcvsdiff.1 grepdiff.1 \
interdiff.1 lsdiff.1 rediff.1 splitdiff.1 recountdiff.1 unwrapdiff.1
+post-patch:
+ @${PERL} -pi -e "s,/bin/bash,${LOCALBASE}/bin/bash," ${WRKSRC}/editdiff.in
+
.include <bsd.port.mk>