summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-07-02 02:26:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-07-02 02:26:27 +0000
commit51e6641b4d0c8f6d4ba6f5724a6eda1b34251931 (patch)
tree45aa3087dd989c945a3144920bcc66e5a370ea41 /sys/dev
parent7d8ee7e7b00f3bfc01fa3f6c93b7c5fc80196d57 (diff)
better mechanism that works in DESTDIR
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/microcode/rum/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/microcode/rum/Makefile b/sys/dev/microcode/rum/Makefile
index 1c087ed4740..24d48642d60 100644
--- a/sys/dev/microcode/rum/Makefile
+++ b/sys/dev/microcode/rum/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 2008/07/02 01:11:11 deraadt Exp $
+# $OpenBSD: Makefile,v 1.7 2008/07/02 02:26:26 deraadt Exp $
NOPROG=
NOMAN=
@@ -30,8 +30,8 @@ afterinstall:
${FIRM} ${DESTDIR}/etc/firmware
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
${.CURDIR}/rum-license ${DESTDIR}/etc/firmware
-
-LINKS= ${DESTDIR}/etc/firmware/rum-license ${DESTDIR}/etc/firmware/run-license
+ ln -f ${DESTDIR}/etc/firmware/rum-license \
+ ${DESTDIR}/etc/firmware/run-license
.endif