Be consistent whether we're using FAKE_AS_ROOT (the default) or not and

always use the same BINMODE and NONBINMODE; ours are a bit different from the
ones from base (bsd.own.mk) (755 vs 555 and 644 vs 444).
Fix a typo while here: SHAREMORE -> SHAREMODE

tested in a bulk
ok espie@
This commit is contained in:
ajacoutot 2016-05-01 09:12:27 +00:00
parent 93bacc0e3a
commit 21316481e8

View File

@ -1,6 +1,6 @@
#-*- mode: Makefile; tab-width: 4; -*-
# ex:ts=4 sw=4 filetype=make:
# $OpenBSD: bsd.port.mk,v 1.1314 2016/04/27 20:41:04 espie Exp $
# $OpenBSD: bsd.port.mk,v 1.1315 2016/05/01 09:12:27 ajacoutot Exp $
#
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
@ -78,6 +78,10 @@ PREPARE_CHECK_ONLY ?= No
_SHSCRIPT = sh ${PORTSDIR}/infrastructure/bin
DPB_PROPERTIES ?=
# bsd.own.mk overrides
BINMODE = 755
NONBINMODE = 644
# All variables relevant to the port's description
_ALL_VARIABLES = BUILD_DEPENDS IS_INTERACTIVE \
SUBPACKAGE FLAVOR BUILD_PACKAGES DPB_PROPERTIES \
@ -895,10 +899,6 @@ _FAKESUDO_CHECK_COOKIE =
_BINOWNGRP =
_SHAREOWNGRP =
_MANOWNGRP =
BINMODE = 755
NONBINMODE = 644
MANMODE = ${NONBINMODE}
SHAREMORE = ${NONBINMODE}
_INSTALL_WRAPPER = ${PORTSDIR}/infrastructure/bin/install-wrapper
.endif