Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/phantasia Workaround a toolchain issue by renaming the...



details:   https://anonhg.NetBSD.org/src/rev/2b1e83b00ada
branches:  trunk
changeset: 784985:2b1e83b00ada
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Feb 16 17:00:21 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/phantasia/Makefile |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r f6c7ceeb58c0 -r 2b1e83b00ada games/phantasia/Makefile
--- a/games/phantasia/Makefile  Sat Feb 16 16:30:28 2013 +0000
+++ b/games/phantasia/Makefile  Sat Feb 16 17:00:21 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.35 2011/07/03 15:29:34 mrg Exp $
+#      $NetBSD: Makefile,v 1.36 2013/02/16 17:00:21 jmcneill Exp $
 #      @(#)Makefile    8.1 (Berkeley) 5/31/93
 
 .include <bsd.own.mk>
@@ -26,18 +26,18 @@
 .endif
 .endfor
 
-CLEANFILES+=map setup setup.lo host_phantglobs.lo ${ALLFILES} files.stamp
+CLEANFILES+=map mkdata setup.lo host_phantglobs.lo ${ALLFILES} files.stamp
 
 realall: ${FILES}
 
 ${FILES}: files.stamp
-files.stamp: setup monsters.asc
+files.stamp: mkdata monsters.asc
        ${_MKMSG_CREATE} ${FILES}
        rm -f ${.TARGET}
-       ./setup -m ${.CURDIR}/monsters.asc
+       ./mkdata -m ${.CURDIR}/monsters.asc
        touch ${.TARGET}
 
-setup: host_phantglobs.lo setup.lo ${LIBM} 
+mkdata: host_phantglobs.lo setup.lo ${LIBM} 
        ${_MKTARGET_LINK}
        ${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC:M*.lo} -lm
 



Home | Main Index | Thread Index | Old Index