summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorobache <obache>2013-02-15 09:22:50 +0000
committerobache <obache>2013-02-15 09:22:50 +0000
commit7db9059d0c77281c81dc23c25fb5f434c7c49dfd (patch)
treeefce3222db14bd9213f5cde5a61a7d330cee599c /mk/bsd.pkg.mk
parented02cc36455b9b2c7cfe3e1046e6a42122f1e910 (diff)
downloadpkgsrc-7db9059d0c77281c81dc23c25fb5f434c7c49dfd.tar.gz
check requirement of uac manifest, it is required for Windows Vista
(aka NT-6.0) and later.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 22150739334..4e8a9f8a9c3 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1984 2013/02/10 13:04:08 obache Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1985 2013/02/15 09:22:50 obache Exp $
#
# This file is in the public domain.
#
@@ -787,8 +787,10 @@ ${_MAKEVARS_MK.${_phase_}}: ${WRKDIR}
.include "pbulk/pbulk-index.mk"
.endif
-.if ${OPSYS} == "Cygwin" && defined(UAC_REQD_EXECS) && !empty(UAC_REQD_EXECS)
-. include "misc/uac-manifest.mk"
+.if defined(_OPSYS_REQUIRE_UAC_MANIFEST) && !empty(_OPSYS_REQUIRE_UAC_MANIFEST:M[Yy][Ee][Ss])
+. if defined(UAC_REQD_EXECS) && !empty(UAC_REQD_EXECS)
+.include "misc/uac-manifest.mk"
+. endif
.endif
.if defined(PKG_DEVELOPER) && ${PKG_DEVELOPER} != "no"