From d8461b7b3ac53eb01d1793937d3b9f60cceae049 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Tue, 27 Nov 2018 18:30:30 -0500 Subject: Fix ports for Linux --- port/file2c/Makefile | 4 +--- port/file2c/file2c.c | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'port/file2c') 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 -__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 #include @@ -20,7 +20,7 @@ usage(void) { fprintf(stderr, "usage: %s [-sx] [-n count] [prefix [suffix]]\n", - getprogname()); + "file2c"); exit(1); } -- cgit 1.4.1