From d97259413843ed7c50c454d3baa759ba651f20f7 Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 16 Jul 2014 16:56:45 +0000 Subject: [PATCH] replace beforeinstall target with LINKS; rot13 becomes a hardlink to caesar instead of a symlink. agreed by deraadt, sobrado, guenther --- games/caesar/Makefile | 6 ++---- 1 file 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 -- 2.20.1