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
commitec04274cff5deb21137f5c1a0064d85107d59616 (patch)
treeaffd5e49f047ccfde8aa59c4e774443d2f894453 /port/file2c
parentUn-hardcode fortune(6) path in cgram (diff)
downloadsrc-ec04274cff5deb21137f5c1a0064d85107d59616.tar.gz
src-ec04274cff5deb21137f5c1a0064d85107d59616.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);
 }