aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--textproc/idnits/Makefile2
-rw-r--r--textproc/idnits/files/patch-idnits11
2 files changed, 13 insertions, 0 deletions
diff --git a/textproc/idnits/Makefile b/textproc/idnits/Makefile
index b47a904f8df..86e7cf9f6ee 100644
--- a/textproc/idnits/Makefile
+++ b/textproc/idnits/Makefile
@@ -13,6 +13,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= fenner@FreeBSD.Org
COMMENT= Looks for problems in internet draft formatting
+RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
+
NO_BUILD= YES
do-install:
diff --git a/textproc/idnits/files/patch-idnits b/textproc/idnits/files/patch-idnits
new file mode 100644
index 00000000000..597aa55c79a
--- /dev/null
+++ b/textproc/idnits/files/patch-idnits
@@ -0,0 +1,11 @@
+
+$FreeBSD$
+
+--- idnits.orig
++++ idnits
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/usr/local/bin/bash
+ #
+ # 'idnits' looks for violations of Section 2.1 and 2.2 of the
+ # requirements listed on http://www.ietf.org/ID-Checklist.html