summaryrefslogtreecommitdiff
path: root/misc/sloccount/files/patch-makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-01-19 14:43:53 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-01-19 14:43:53 +0000
commite4eecb83b620a53b2ebdc239ac771d25c628f00e (patch)
treea34b5a6b4db0b7e347f2f99e888258604a455df3 /misc/sloccount/files/patch-makefile
parentChasing mail/mutt-devel/upgrade. (diff)
upgrade to 2.09
PR: 34050 Submitted by: Thomas Hurst <freaky@aagh.net>
Notes
Notes: svn path=/head/; revision=53338
Diffstat (limited to 'misc/sloccount/files/patch-makefile')
-rw-r--r--misc/sloccount/files/patch-makefile20
1 files changed, 12 insertions, 8 deletions
diff --git a/misc/sloccount/files/patch-makefile b/misc/sloccount/files/patch-makefile
index d3bbf09cf4bd..668f554f7531 100644
--- a/misc/sloccount/files/patch-makefile
+++ b/misc/sloccount/files/patch-makefile
@@ -1,6 +1,6 @@
---- makefile.orig Tue Jun 12 20:55:23 2001
-+++ makefile Fri Aug 24 22:29:56 2001
-@@ -7,14 +7,12 @@
+--- makefile.orig Wed Jan 9 21:38:33 2002
++++ makefile Sat Jan 19 22:40:15 2002
+@@ -10,14 +10,12 @@
# 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":
@@ -15,7 +15,7 @@
# Set this to the name of your "install" program. On some systems,
# "install -C" would be useful (so unchanged files won't be modified),
-@@ -37,7 +35,7 @@
+@@ -41,7 +39,7 @@
ARCH=i386
VERSIONEDNAME=$(NAME)-$(VERSION)
INSTALL_DIR=$(PREFIX)/bin
@@ -24,7 +24,7 @@
MAN_DIR_MAN1=$(MAN_DIR)/man1
DOC_DIR=$(PREFIX)/share/doc/$(VERSIONEDNAME)-$(RPM_VERSION)
POSTED_DIR=/home/dwheeler/dwheeler.com/sloccount
-@@ -78,7 +76,7 @@
+@@ -84,7 +82,7 @@
sql_count \
tcl_count
@@ -33,8 +33,8 @@
MYDOCS=sloccount.html README TODO ChangeLog
-@@ -86,10 +84,10 @@
- all: lexcount1$(EXE_SUFFIX) c_count$(EXE_SUFFIX) java_count$(EXE_SUFFIX) sloccount.1.gz
+@@ -92,13 +90,13 @@
+ all: lexcount1$(EXE_SUFFIX) c_count$(EXE_SUFFIX) java_count$(EXE_SUFFIX) php_count$(EXE_SUFFIX)
lexcount1$(EXE_SUFFIX): lexcount1.c
- $(CC) lexcount1.c -o lexcount1$(EXE_SUFFIX)
@@ -44,9 +44,13 @@
- $(CC) c_count.c -o c_count$(EXE_SUFFIX)
+ $(CC) ${CFLAGS} c_count.c -o c_count$(EXE_SUFFIX)
+ php_count$(EXE_SUFFIX): php_count.c
+- $(CC) php_count.c -o php_count$(EXE_SUFFIX)
++ $(CC) ${CFLAGS} php_count.c -o php_count$(EXE_SUFFIX)
+
sloccount.1.gz: sloccount.1
gzip -c sloccount.1 > sloccount.1.gz
-@@ -100,18 +98,17 @@
+@@ -109,18 +107,17 @@
# This is USC's code counter, not built by default:
c_lines: C_LINES.C