Date: Wed, 16 Jul 2014 21:51:43 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r362113 - head/databases/sqlite2 Message-ID: <201407162151.s6GLphbW030095@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Wed Jul 16 21:51:43 2014 New Revision: 362113 URL: http://svnweb.freebsd.org/changeset/ports/362113 QAT: https://qat.redports.org/buildarchive/r362113/ Log: Fix build without shared readline in base Modified: head/databases/sqlite2/Makefile Modified: head/databases/sqlite2/Makefile ============================================================================== --- head/databases/sqlite2/Makefile Wed Jul 16 21:07:18 2014 (r362112) +++ head/databases/sqlite2/Makefile Wed Jul 16 21:51:43 2014 (r362113) @@ -10,7 +10,7 @@ MASTER_SITES= http://www.sqlite.org/ MAINTAINER= ports@FreeBSD.org COMMENT= SQL database engine in a C library -USES= gmake pkgconfig +USES= gmake pkgconfig readline USE_AUTOTOOLS= libtool USE_LDCONFIG= YES @@ -19,12 +19,14 @@ CONFIGURE_ARGS= --prefix=${PREFIX} --wi DOCSDIR= ${PREFIX}/share/doc/sqlite2 EXAMPLESDIR= ${PREFIX}/share/examples/sqlite2 -LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}2 - EXTRACT_AFTER_ARGS= --exclude CVS OPTIONS_DEFINE= TCL THREADS DOCS +.if !exists(/usr/lib/libreadline.so) +MAKE_ARGS= READLINE_FLAGS="-DHAVE_READLINE=1 -I${LOCALBASE}/include -L${LOCALBASE}/lib" +.endif + .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MTCL}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407162151.s6GLphbW030095>