summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorokan <okan@openbsd.org>2014-07-16 16:56:45 +0000
committerokan <okan@openbsd.org>2014-07-16 16:56:45 +0000
commitd97259413843ed7c50c454d3baa759ba651f20f7 (patch)
treeebaaa1fd9ea88aa0eb1cc1c5dfa30a919022df5d
parentHandle the sysmerge move. (diff)
downloadwireguard-openbsd-d97259413843ed7c50c454d3baa759ba651f20f7.tar.xz
wireguard-openbsd-d97259413843ed7c50c454d3baa759ba651f20f7.zip
replace beforeinstall target with LINKS; rot13 becomes a hardlink to
caesar instead of a symlink. agreed by deraadt, sobrado, guenther
-rw-r--r--games/caesar/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/games/caesar/Makefile b/games/caesar/Makefile
index bf1a4b3af8b..940dadd428a 100644
--- a/games/caesar/Makefile
+++ b/games/caesar/Makefile
@@ -1,12 +1,10 @@
-# $OpenBSD: Makefile,v 1.5 1998/02/26 07:58:07 deraadt Exp $
+# $OpenBSD: Makefile,v 1.6 2014/07/16 16:56:45 okan Exp $
PROG= caesar
MAN= caesar.6
DPADD= ${LIBM}
LDADD= -lm
MLINKS= caesar.6 rot13.6
-
-beforeinstall:
- (cd ${DESTDIR}/usr/games; rm -f rot13; ln -s caesar rot13)
+LINKS= ${BINDIR}/caesar ${BINDIR}/rot13
.include <bsd.prog.mk>