mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix build on -current.
This is an ugly fix, and makes some assumptions, but necessary as Uses/readline.mk doesn't export which path it's using, it just modifies *FLAGS directly.
This commit is contained in:
parent
6be83b2931
commit
4a5caa8357
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366691
1 changed files with 4 additions and 2 deletions
|
@ -16,6 +16,7 @@ LIB_DEPENDS= libxerces-c.so:${PORTSDIR}/textproc/xerces-c3
|
|||
|
||||
OPTIONS_DEFINE= READLINE
|
||||
OPTIONS_DEFAULT=READLINE
|
||||
OPTIONS_SUB= yes
|
||||
READLINE_DESC= Enable readline support
|
||||
|
||||
USE_OPENSSL= yes
|
||||
|
@ -34,10 +35,11 @@ USES= gmake
|
|||
|
||||
.if ${PORT_OPTIONS:MREADLINE}
|
||||
USES+= readline
|
||||
PLIST_SUB+= READLINE=""
|
||||
. if !exists(/usr/lib/libreadline.so)
|
||||
CONFIGURE_ARGS+=--with-readline-includes=${LOCALBASE}/include
|
||||
. endif
|
||||
.else
|
||||
CONFIGURE_ENV+= ac_cv_lib_readline_readline=no
|
||||
PLIST_SUB+= READLINE="@comment "
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
|
|
Loading…
Add table
Reference in a new issue