mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
c210d2ab69
Currently no supported FreeBSD version has libreadline.so in base. Then if 'USES=readline' is used devel/readline is always added to dependency whether or not 'port' argument is specified. So remove unnecessary 'port' argument now. PR: 248459 Exp-run by: antoine
20 lines
430 B
Makefile
20 lines
430 B
Makefile
# handle dependency on the readline port
|
|
#
|
|
# Feature: readline
|
|
# Usage: USES=readline
|
|
#
|
|
# MAINTAINER: portmgr@FreeBSD.org
|
|
|
|
.if !defined(_INCLUDE_USES_READLINE_MK)
|
|
_INCLUDE_USES_READLINE_MK= yes
|
|
|
|
.if !empty(readline_ARGS)
|
|
IGNORE= Incorrect 'USES+= readline:${readline_ARGS}' readline takes no arguments
|
|
.endif
|
|
|
|
LIB_DEPENDS+= libreadline.so.8:devel/readline
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
.endif
|