mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
cb037d3c98
- Bump PORTREVISION for shlib change Changes: https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html Differential Revision: https://reviews.freebsd.org/D11172 PR: 219947 Exp-run by: antoine
25 lines
449 B
Makefile
25 lines
449 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 ${readline_ARGS} == port
|
|
LIB_DEPENDS+= libreadline.so.7:devel/readline
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
.endif
|
|
|
|
.endif
|