pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Correct the path to more helper binaries



Module Name:	pkgsrc-wip
Committed By:	Pierre Pronchery <khorben%defora.org@localhost>
Pushed By:	khorben
Date:		Wed Aug 23 18:13:28 2017 +0200
Changeset:	bbbd7f66b6a411e1236fd0c209ee002d82358998

Modified Files:
	sloccount/Makefile
	sloccount/distinfo
	sloccount/patches/patch-sloccount

Log Message:
Correct the path to more helper binaries

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=bbbd7f66b6a411e1236fd0c209ee002d82358998

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 sloccount/Makefile                |  2 +-
 sloccount/distinfo                |  2 +-
 sloccount/patches/patch-sloccount | 11 +++++++++++
 3 files changed, 13 insertions(+), 2 deletions(-)

diffs:
diff --git a/sloccount/Makefile b/sloccount/Makefile
index fb6de1bd50..9334dbbd53 100644
--- a/sloccount/Makefile
+++ b/sloccount/Makefile
@@ -3,7 +3,7 @@
 # - let sloccount(1) find its helper binaries
 
 DISTNAME=	sloccount-2.26
-PKGREVISION=	5
+PKGREVISION=	6
 CATEGORIES=	devel
 MASTER_SITES=	http://www.dwheeler.com/sloccount/
 
diff --git a/sloccount/distinfo b/sloccount/distinfo
index c145ea786b..5408932571 100644
--- a/sloccount/distinfo
+++ b/sloccount/distinfo
@@ -8,4 +8,4 @@ SHA1 (patch-compute__all) = 86bee28f56a366c63f122a417bad92020e748df1
 SHA1 (patch-compute__sloc__lang) = 8692b6b086aad2cf986123c85f70229017a9bf37
 SHA1 (patch-makefile) = 0f696e08486299dadd919d3aee1d31d01d1c6ad1
 SHA1 (patch-rpm__unpacker) = 1bd30245b1ad1c6de72c0ec63acbd76b95d79efb
-SHA1 (patch-sloccount) = 36f2b762aae891bfd0fdee52b0a34b286c16d5d5
+SHA1 (patch-sloccount) = 610b0033e7b0e10939f1d4b5ec3f7e1fcaa83827
diff --git a/sloccount/patches/patch-sloccount b/sloccount/patches/patch-sloccount
index 1c274d33c1..7127dac7f6 100644
--- a/sloccount/patches/patch-sloccount
+++ b/sloccount/patches/patch-sloccount
@@ -42,3 +42,14 @@ Correct path to the helper binaries
    then
      display_results=y
    fi
+@@ -251,8 +253,8 @@ in
+   cd $datadir
+   case $details
+   in
+-    y)   get_sloc_details * ;;
+-    *)   get_sloc $addlang $showother $filecount $oneprogram $effort_model $schedule_model $personcost $overhead * ;;
++    y)   "$libexecdir/get_sloc_details" * ;;
++    *)   "$libexecdir/get_sloc" $addlang $showother $filecount $oneprogram $effort_model $schedule_model $personcost $overhead * ;;
+   esac;;
+ esac
+ 


Home | Main Index | Thread Index | Old Index