Add LIBEXECDIR to the bsd.own.mk vars, pointing to /usr/libexec by default

Some of the patches we are preparing for porting ATF from NetBSD
refer to '/usr/libexec' several times.  Instead of repeating the
path all over the place, add ${LIBEXECDIR} to match ${LIBDATADIR}
and reduce the redundancy of the relevant makefiles.

Submitted by:	Garrett Cooper <yanegomi@gmail.com>
Approved by:	ru
MFC after:	1 month
This commit is contained in:
keramida 2011-02-10 19:13:54 +00:00
parent 5316147f1e
commit f41a2b1387

View File

@ -30,6 +30,8 @@
# #
# LIBDATADIR Base path for misc. utility data files. [/usr/libdata] # LIBDATADIR Base path for misc. utility data files. [/usr/libdata]
# #
# LIBEXECDIR Base path for system daemons and utilities. [/usr/libexec]
#
# LINTLIBDIR Base path for lint libraries. [/usr/libdata/lint] # LINTLIBDIR Base path for lint libraries. [/usr/libdata/lint]
# #
# SHLIBDIR Base path for shared libraries. [${LIBDIR}] # SHLIBDIR Base path for shared libraries. [${LIBDIR}]
@ -129,6 +131,7 @@ KMODMODE?= ${BINMODE}
LIBDIR?= /usr/lib LIBDIR?= /usr/lib
LIBCOMPATDIR?= /usr/lib/compat LIBCOMPATDIR?= /usr/lib/compat
LIBDATADIR?= /usr/libdata LIBDATADIR?= /usr/libdata
LIBEXECDIR?= /usr/libexec
LINTLIBDIR?= /usr/libdata/lint LINTLIBDIR?= /usr/libdata/lint
SHLIBDIR?= ${LIBDIR} SHLIBDIR?= ${LIBDIR}
LIBOWN?= ${BINOWN} LIBOWN?= ${BINOWN}