summary refs log tree commit diff
path: root/port/caesar
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/caesar
parentUn-hardcode fortune(6) path in cgram (diff)
downloadsrc-ec04274cff5deb21137f5c1a0064d85107d59616.tar.gz
src-ec04274cff5deb21137f5c1a0064d85107d59616.zip
Fix ports for Linux
Diffstat (limited to '')
-rw-r--r--port/caesar/Makefile4
-rw-r--r--port/caesar/caesar.c2
2 files changed, 4 insertions, 2 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>