diff options
author | June McEnroe <june@causal.agency> | 2018-11-27 18:30:30 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-11-27 18:30:30 -0500 |
commit | d8461b7b3ac53eb01d1793937d3b9f60cceae049 (patch) | |
tree | c348db1e9419274b32445aa311de0aab0eb2985b /port/file2c | |
parent | Un-hardcode fortune(6) path in cgram (diff) | |
download | src-d8461b7b3ac53eb01d1793937d3b9f60cceae049.tar.gz src-d8461b7b3ac53eb01d1793937d3b9f60cceae049.zip |
Fix ports for Linux
Diffstat (limited to '')
-rw-r--r-- | port/file2c/Makefile | 4 | ||||
-rw-r--r-- | port/file2c/file2c.c | 4 |
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); } |