Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/adventure Workaround a toolchain issue by renaming the...
details: https://anonhg.NetBSD.org/src/rev/f6c7ceeb58c0
branches: trunk
changeset: 784984:f6c7ceeb58c0
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sat Feb 16 16:30:28 2013 +0000
description:
Workaround a toolchain issue by renaming the 'setup' host tool to 'mkdata' to make UAC happy when building with Cygwin. As described here --
http://msdn.microsoft.com/en-us/library/windows/desktop/bb756960.aspx -- 32-bit executables whose filenames include the strings 'install', 'setup', 'update', 'patch', etc. by default will request
admin privileges unless an application manifest is provided.
diffstat:
games/adventure/Makefile | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (27 lines):
diff -r b66a622044f2 -r f6c7ceeb58c0 games/adventure/Makefile
--- a/games/adventure/Makefile Sat Feb 16 15:06:52 2013 +0000
+++ b/games/adventure/Makefile Sat Feb 16 16:30:28 2013 +0000
@@ -1,18 +1,18 @@
-# $NetBSD: Makefile,v 1.13 2003/11/16 14:14:18 lukem Exp $
+# $NetBSD: Makefile,v 1.14 2013/02/16 16:30:28 jmcneill Exp $
# @(#)Makefile 8.1 (Berkeley) 6/12/93
PROG= adventure
SRCS= main.c init.c done.c save.c subr.c vocab.c wizard.c io.c data.c crc.c
MAN= adventure.6
HIDEGAME=hidegame
-CLEANFILES+=setup setup.lo data.c
+CLEANFILES+=mkdata setup.lo data.c
-data.c: glorkz setup
+data.c: glorkz mkdata
${_MKTARGET_CREATE}
- ./setup ${.CURDIR}/glorkz > data.c
+ ./mkdata ${.CURDIR}/glorkz > data.c
setup.lo: hdr.h
-setup: setup.lo
+mkdata: setup.lo
${_MKTARGET_LINK}
${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC}
Home |
Main Index |
Thread Index |
Old Index