svn commit: r366691 - head/devel/libepp-nicbr
Adam Weinberger
adamw at FreeBSD.org
Sat Aug 30 22:58:39 UTC 2014
Author: adamw
Date: Sat Aug 30 22:58:38 2014
New Revision: 366691
URL: http://svnweb.freebsd.org/changeset/ports/366691
QAT: https://qat.redports.org/buildarchive/r366691/
Log:
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.
Modified:
head/devel/libepp-nicbr/Makefile
Modified: head/devel/libepp-nicbr/Makefile
==============================================================================
--- head/devel/libepp-nicbr/Makefile Sat Aug 30 22:52:17 2014 (r366690)
+++ head/devel/libepp-nicbr/Makefile Sat Aug 30 22:58:38 2014 (r366691)
@@ -16,6 +16,7 @@ LIB_DEPENDS= libxerces-c.so:${PORTSDIR}/
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:
More information about the svn-ports-all
mailing list