1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/Mk/Uses/readline.mk
Gerald Pfeifer 5b4f2ad658 Move MAINTAINER lines to the end of the initial comment block and
make things a bit more consistent.

Approved by:	portmgr (bapt)
2014-03-15 10:31:54 +00:00

25 lines
498 B
Makefile

# $FreeBSD$
#
# handle dependency on the readline port
#
# Feature: readline
# Usage: USES=readline
# Valid ARGS: port
#
# MAINTAINER: portmgr@FreeBSD.org
.if !defined(_INCLUDE_USES_READLINE_MK)
_INCLUDE_USES_READLINE_MK= yes
.if !exists(/usr/lib/libreadline.so)
readline_ARGS= port
.endif
.if defined(readline_ARGS) && ${readline_ARGS} == port
LIB_DEPENDS+= libreadline.so.6:${PORTSDIR}/devel/readline
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lreadline
.endif
.endif