summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--port/caesar/Makefile4
-rw-r--r--port/caesar/caesar.c2
-rw-r--r--port/cgram/Makefile2
-rw-r--r--port/file2c/Makefile4
-rw-r--r--port/file2c/file2c.c4
5 files changed, 8 insertions, 8 deletions
diff --git a/port/caesar/Makefile b/port/caesar/Makefile
index 3910ae5e..cf939acb 100644
--- a/port/caesar/Makefile
+++ b/port/caesar/Makefile
@@ -1,9 +1,11 @@
+LDLIBS = -lm
+
 all: caesar rot13
 
 clean:
 	rm -f caesar rot13
 
-install:
+install: caesar rot13 caesar.6
 	mkdir -p ~/.local/bin ~/.local/share/man/man6
 	cp caesar rot13 ~/.local/bin
 	cp caesar.6 ~/.local/share/man/man6
diff --git a/port/caesar/caesar.c b/port/caesar/caesar.c
index 7f4009fd..cd6cd579 100644
--- a/port/caesar/caesar.c
+++ b/port/caesar/caesar.c
@@ -47,7 +47,7 @@ static const char sccsid[] = "@(#)caesar.c    8.1 (Berkeley) 5/31/93";
 #endif /* not lint */
 #endif
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: releng/11.2/usr.bin/caesar/caesar.c 241846 2012-10-22 03:06:53Z eadler $");
+//__FBSDID("$FreeBSD: releng/11.2/usr.bin/caesar/caesar.c 241846 2012-10-22 03:06:53Z eadler $");
 
 #include <errno.h>
 #include <math.h>
diff --git a/port/cgram/Makefile b/port/cgram/Makefile
index 68f96353..1a0b10c1 100644
--- a/port/cgram/Makefile
+++ b/port/cgram/Makefile
@@ -5,7 +5,7 @@ cgram:
 clean:
 	rm -f cgram
 
-install:
+install: cgram cgram.6
 	mkdir -p ~/.local/bin ~/.local/share/man/man6
 	cp cgram ~/.local/bin
 	cp cgram.6 ~/.local/share/man/man6
diff --git a/port/file2c/Makefile b/port/file2c/Makefile
index b8b03e3c..5917b82d 100644
--- a/port/file2c/Makefile
+++ b/port/file2c/Makefile
@@ -1,11 +1,9 @@
-PREFIX = ~/.local
-
 file2c:
 
 clean:
 	rm -f file2c
 
-install:
+install: file2c file2c.1
 	mkdir -p ~/.local/bin ~/.local/share/man/man1
 	cp file2c ~/.local/bin
 	cp file2c.1 ~/.local/share/man/man1
diff --git a/port/file2c/file2c.c b/port/file2c/file2c.c
index d5c7815d..cff7f602 100644
--- a/port/file2c/file2c.c
+++ b/port/file2c/file2c.c
@@ -8,7 +8,7 @@
  */
 
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: releng/11.2/usr.bin/file2c/file2c.c 200462 2009-12-13 03:14:06Z delphij $");
+//__FBSDID("$FreeBSD: releng/11.2/usr.bin/file2c/file2c.c 200462 2009-12-13 03:14:06Z delphij $");
 
 #include <limits.h>
 #include <stdio.h>
@@ -20,7 +20,7 @@ usage(void)
 {
 
 	fprintf(stderr, "usage: %s [-sx] [-n count] [prefix [suffix]]\n",
-	    getprogname());
+	    "file2c");
 	exit(1);
 }