summary refs log tree commit diff
path: root/port/file2c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-11-27 18:30:30 -0500
committerJune McEnroe <june@causal.agency>2018-11-27 18:30:30 -0500
commitd8461b7b3ac53eb01d1793937d3b9f60cceae049 (patch)
treec348db1e9419274b32445aa311de0aab0eb2985b /port/file2c
parentUn-hardcode fortune(6) path in cgram (diff)
downloadsrc-d8461b7b3ac53eb01d1793937d3b9f60cceae049.tar.gz
src-d8461b7b3ac53eb01d1793937d3b9f60cceae049.zip
Fix ports for Linux
Diffstat (limited to 'port/file2c')
-rw-r--r--port/file2c/Makefile4
-rw-r--r--port/file2c/file2c.c4
2 files changed, 3 insertions, 5 deletions
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);
 }