svn commit: r303619 - head/Mk
Mark Linimon
linimon at FreeBSD.org
Mon Sep 3 20:47:02 UTC 2012
Author: linimon
Date: Mon Sep 3 20:47:01 2012
New Revision: 303619
URL: http://svn.freebsd.org/changeset/ports/303619
Log:
- 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 at yandex.ru> [1],
fjoe [2], "Conrad J. Sabatier" <conrads at cox.net> [3]
Modified:
head/Mk/bsd.port.mk
Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk Mon Sep 3 20:42:35 2012 (r303618)
+++ head/Mk/bsd.port.mk Mon Sep 3 20:47:01 2012 (r303619)
@@ -383,6 +383,12 @@ FreeBSD_MAINTAINER= portmgr at 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
More information about the svn-ports-head
mailing list