Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Aug 2014 22:58:39 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r366691 - head/devel/libepp-nicbr
Message-ID:  <201408302258.s7UMwdSH087277@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408302258.s7UMwdSH087277>