pkgsrc/databases/gnats/patches/patch-ad
recht a043abe05f Update to gnats 4.1.0.
Make a overhaul of the package and bring it closer to pkgsrc standards.
Addresses PR 26174 by Hauke Fath.

changes:

This is GNATS 4.1.0, a release that incorporates multiple bug fixes
and enhancements that have been committed to CVS since the release of
GNATS 4.0.  Notable enhancements include:

- Upgrade to autoconf 2.59 generated configure scripts.
- New PR numbers are reported to the client upon new submissions
- Rewrite of install-sid.  Now, rather than editing send-pr, which can
  be installed on a read-only partition, install-sid creates or edits
  user or site configuration files ~/.send-pr.conf or
  /etc/gnats/send-pr.conf.
- Removal of libiberty, old manpages, and old build framework cruft
- Performance enhancements to indexing code
- Various cleanups and bugfixes.  See the ChangeLog files for details.
2005-08-27 22:24:02 +00:00

23 lines
648 B
Text

$NetBSD: patch-ad,v 1.3 2005/08/27 22:24:02 recht Exp $
--- gnats/mkcat.sh.orig 2001-07-30 20:42:04.000000000 +0200
+++ gnats/mkcat.sh
@@ -36,7 +36,8 @@ while [ $# -gt 0 ]; do
done
-GNATS_DB_DIR="`query-pr --print-directory-for-database`"
+QUERY_PR="xBINDIRx/query-pr"
+GNATS_DB_DIR="`$QUERY_PR --print-directory-for-database`"
# verify gnats root
if [ ! -d ${GNATS_DB_DIR} ] ; then
@@ -44,7 +45,7 @@ if [ ! -d ${GNATS_DB_DIR} ] ; then
exit 1
fi
-query-pr --list-categories | awk -F: '{print $1}' | while read i
+$QUERY_PR --list-categories | awk -F: '{print $1}' | while read i
do
if test -d "$GNATS_DB_DIR/$i"; then
true