From: okan Date: Wed, 16 Jul 2014 16:56:45 +0000 (+0000) Subject: replace beforeinstall target with LINKS; rot13 becomes a hardlink to X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d97259413843ed7c50c454d3baa759ba651f20f7;p=openbsd replace beforeinstall target with LINKS; rot13 becomes a hardlink to caesar instead of a symlink. agreed by deraadt, sobrado, guenther --- 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