Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC)
- Fix for possible unset uid/gid in toproto
- Fix for default mtree style
- Update libelf
- Importing libexecinfo
- Resynchronize GCC, mpc, gmp, mpfr
- build.sh: Replace params with show-params.
This has been done as the make target has been renamed in the same
way, while a new target named params has been added. This new
target generates a file containing all the parameters, instead of
printing it on the console.
- Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org)
get getservbyport() out of the inner loop
Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
This commit is contained in:
+20
-1
@@ -1,10 +1,29 @@
|
||||
# $NetBSD: Makefile,v 1.7 2007/07/03 16:29:24 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2013/03/16 22:32:50 christos Exp $
|
||||
|
||||
NOMAN=
|
||||
.include <bsd.own.mk>
|
||||
|
||||
HOSTPROGNAME= ${MACHINE_GNU_PLATFORM}-install
|
||||
HOST_SRCDIR= usr.bin/xinstall
|
||||
CPPFLAGS+= -I${.CURDIR}/../compat/sys
|
||||
CPPFLAGS+= -DTARGET_STRIP=\"${STRIP}\"
|
||||
|
||||
# Prevent Makefile.host from trying to use the version of libnbcompat
|
||||
# from ${TOOLDIR}.
|
||||
NOCOMPATLIB=
|
||||
|
||||
# Use uninstalled copy of host-mkdep
|
||||
HOST_MKDEP_OBJ!= cd ${.CURDIR}/../host-mkdep && ${PRINTOBJDIR}
|
||||
HOST_MKDEP= ${HOST_MKDEP_OBJ}/host-mkdep
|
||||
MKDEP= ${HOST_MKDEP}
|
||||
|
||||
# Use uninstalled copy of libnbcompat and associated *.h files
|
||||
COMPATLIB_UNINSTALLED= yes
|
||||
COMPATOBJ!= cd ${NETBSDSRCDIR}/tools/compat && ${PRINTOBJDIR}
|
||||
.-include "${COMPATOBJ}/defs.mk"
|
||||
|
||||
.include "${.CURDIR}/../Makefile.host"
|
||||
|
||||
# Use uninstalled copy of the install program
|
||||
INSTALL= ./xinstall
|
||||
|
||||
|
||||
Executable
+33
@@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
|
||||
makeone() {
|
||||
local name="$(basename "$1" .exe)"
|
||||
case $name in
|
||||
*instal*|*patch*|*update*|*setup*)
|
||||
;;
|
||||
*)
|
||||
return;;
|
||||
esac
|
||||
cat << _EOF > ${1%.exe}.exe.manifest
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<!-- $NetBSD: mkmanifest,v 1.1 2013/02/17 00:36:40 christos Exp $ -->
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<assemblyIdentity version="1.0.0.0"
|
||||
processorArchitecture="X86"
|
||||
name="$name"
|
||||
type="win32"/>
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
</assembly>
|
||||
_EOF
|
||||
}
|
||||
|
||||
for i
|
||||
do
|
||||
makeone "$i"
|
||||
done
|
||||
Reference in New Issue
Block a user