Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Jun 2002 14:47:26 +0100
From:      Thomas Hurst <freaky@aagh.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/38797: Update port: misc/sloccount to 2.13
Message-ID:  <E17E9E6-000Meb-00@voi.aagh.net>

next in thread | raw e-mail | index | archive | help

>Number:         38797
>Category:       ports
>Synopsis:       Update port: misc/sloccount to 2.13
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 01 06:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Hurst
>Release:        FreeBSD 4.5-PRERELEASE i386
>Organization:
Very little
>Environment:
System: FreeBSD voi.freak.lan 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #0: Thu Dec 20 13:56:19 GMT 2001 root@voi.freak.lan:/usr/obj/usr/src/sys/VOI i386


>Description:
	Update misc/sloccount from 2.12 to 2.13.

	Add USE_PERL5, since this port uses it quite heavily.
>How-To-Repeat:
	
>Fix:
	Apply the following patch.

diff -ru /usr/ports/misc/sloccount/Makefile sloccount/Makefile
--- /usr/ports/misc/sloccount/Makefile	Sun Mar 31 21:04:06 2002
+++ sloccount/Makefile	Sat Jun  1 13:28:37 2002
@@ -7,11 +7,13 @@
 #
 
 PORTNAME=	sloccount
-PORTVERSION=	2.12
+PORTVERSION=	2.13
 CATEGORIES=	misc
 MASTER_SITES=	http://www.dwheeler.com/sloccount/
 
 MAINTAINER=	freaky@aagh.net
+
+USE_PERL5=	yes
 
 MAKEFILE=	makefile
 INSTALL_TARGET=	install_programs install_man
diff -ru /usr/ports/misc/sloccount/distinfo sloccount/distinfo
--- /usr/ports/misc/sloccount/distinfo	Sun Mar 31 21:04:06 2002
+++ sloccount/distinfo	Sat Jun  1 13:29:11 2002
@@ -1 +1 @@
-MD5 (sloccount-2.12.tar.gz) = ed8c8893d32e12fde25d39efe53af796
+MD5 (sloccount-2.13.tar.gz) = a3ae89b09a68bf6576c78b3b1ca1bc70
diff -ru /usr/ports/misc/sloccount/files/patch-makefile sloccount/files/patch-makefile
--- /usr/ports/misc/sloccount/files/patch-makefile	Wed Mar 13 12:07:51 2002
+++ sloccount/files/patch-makefile	Sat Jun  1 13:52:06 2002
@@ -1,6 +1,6 @@
---- makefile.orig	Thu Feb 28 12:44:12 2002
-+++ makefile	Wed Mar 13 11:50:31 2002
-@@ -10,14 +10,12 @@
+--- makefile.orig	Fri May 31 05:31:34 2002
++++ makefile	Sat Jun  1 13:33:20 2002
+@@ -10,7 +10,6 @@
  # Set this for where to store the man pages and executables.
  # If you want to store this as part of an official distribution,
  # change this to "/usr":
@@ -8,14 +8,15 @@
  
  # Set "EXE_SUFFIX" to ".exe" if you're running on Windows, like this:
  # EXE_SUFFIX=.exe
- EXE_SUFFIX=
- 
- # Set this to your C compiler, if it's not "gcc"; a likely alternative is "cc":
--CC=gcc
+@@ -19,7 +18,6 @@
+ # Set this to your C compiler, if it's not "gcc"; a likely alternative is "cc".
+ # The "-Wall" option turns on warnings in gcc.  gcc users might also want
+ # to consider using "-Werror", which turns warnings into errors.
+-CC=gcc -Wall
  
  # Set this to the name of your "install" program.  On some systems,
  # "install -C" would be useful (so unchanged files won't be modified),
-@@ -41,7 +39,7 @@
+@@ -47,7 +45,7 @@
  ARCH=i386
  VERSIONEDNAME=$(NAME)-$(VERSION)
  INSTALL_DIR=$(PREFIX)/bin
@@ -24,7 +25,7 @@
  MAN_DIR_MAN1=$(MAN_DIR)/man1
  DOC_DIR=$(PREFIX)/share/doc/$(VERSIONEDNAME)-$(RPM_VERSION)
  POSTED_DIR=/home/dwheeler/dwheeler.com/sloccount
-@@ -86,7 +84,7 @@
+@@ -92,7 +90,7 @@
     sql_count \
     tcl_count
  
@@ -33,7 +34,7 @@
  
  MYDOCS=sloccount.html README TODO ChangeLog
  
-@@ -94,13 +92,13 @@
+@@ -100,13 +98,13 @@
  all: lexcount1$(EXE_SUFFIX) c_count$(EXE_SUFFIX) java_count$(EXE_SUFFIX) php_count$(EXE_SUFFIX)
  
  lexcount1$(EXE_SUFFIX): lexcount1.c
@@ -50,7 +51,7 @@
  
  sloccount.1.gz: sloccount.1
  	gzip -c sloccount.1 > sloccount.1.gz
-@@ -111,25 +109,23 @@
+@@ -117,25 +115,23 @@
  
  # This is USC's code counter, not built by default:
  c_lines: C_LINES.C
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E17E9E6-000Meb-00>