3 # handle dependency on the readline port
9 # MAINTAINER: portmgr@FreeBSD.org
11 .if !defined(_INCLUDE_USES_READLINE_MK)
12 _INCLUDE_USES_READLINE_MK= yes
14 .if !exists(/usr/lib/libreadline.so)
18 .if ${readline_ARGS} == port
19 LIB_DEPENDS+= libreadline.so.6:devel/readline
20 CPPFLAGS+= -I${LOCALBASE}/include
21 LDFLAGS+= -L${LOCALBASE}/lib