mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Add hast to USERS_BLACKLIST [1].
- Add USE_READLINE knob [2]. - Fix typo [3]. PR: ports/157128 [1] PR: ports/162995 [2] PR: ports/165125 [3] Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> [1], fjoe [2], "Conrad J. Sabatier" <conrads@cox.net> [3]
This commit is contained in:
parent
eeed9bb04d
commit
2650f95f80
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303619
1 changed files with 17 additions and 2 deletions
|
@ -383,6 +383,12 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
|
|||
# USE_SDL - If set, this port uses the sdl libraries.
|
||||
# See bsd.sdl.mk for more information.
|
||||
##
|
||||
# USE_READLINE - If set, this port uses libreadline.
|
||||
# Legal values are: yes, base, port
|
||||
# yes, base: use base system libreadline on FreeBSD 9 or earlier,
|
||||
# use ports/devel/readline on FreeBSD 10.0+
|
||||
# port: always use ports/devel/readline
|
||||
##
|
||||
# USE_OPENAL - If set, this port relies on the OpenAL package.
|
||||
# Legal values are: al, soft, si, alut.
|
||||
# If set to an unknown value, the port is marked broken.
|
||||
|
@ -1259,7 +1265,7 @@ GID_OFFSET?= 0
|
|||
|
||||
# predefined accounts from src/etc/master.passwd
|
||||
# alpha numeric sort order
|
||||
USERS_BLACKLIST= _dhcp _pflogd bin bind daemon games kmem mailnull man news nobody operator pop proxy root smmsp sshd toor tty uucp www
|
||||
USERS_BLACKLIST= _dhcp _pflogd bin bind daemon games hast kmem mailnull man news nobody operator pop proxy root smmsp sshd toor tty uucp www
|
||||
|
||||
LDCONFIG_DIR= libdata/ldconfig
|
||||
LDCONFIG32_DIR= libdata/ldconfig32
|
||||
|
@ -1697,6 +1703,15 @@ MAKE_ENV+= ${b}="${${b}}"
|
|||
.include "${PORTSDIR}/Mk/bsd.ldap.mk"
|
||||
.endif
|
||||
|
||||
.if defined(USE_READLINE)
|
||||
.if ${USE_READLINE} == "port" || ${OSVERSION} > 1000000
|
||||
LIB_DEPENDS+= readline.6:${PORTSDIR}/devel/readline
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -lreadline
|
||||
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if defined(USE_OPENAL)
|
||||
_OPENAL_ALL= al si soft alut
|
||||
_OPENAL_LIBS= si soft
|
||||
|
@ -4454,7 +4469,7 @@ pretty-print-www-site:
|
|||
if [ -n "$${www_site}" ]; then \
|
||||
${ECHO_MSG} -n " and/or visit the "; \
|
||||
${ECHO_MSG} -n "<a href=\"$${www_site}\">web site</a>"; \
|
||||
${ECHO_MSG} " for futher informations"; \
|
||||
${ECHO_MSG} " for further information"; \
|
||||
fi
|
||||
.endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue