Fix build without shared readline in base
This commit is contained in:
@@ -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} --with-hints=freebsd.hints
|
||||
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}
|
||||
|
||||
Reference in New Issue
Block a user