databases/sqlcipher: Add CFLAGS and LDFLAGS for USES=ssl

Approved by:	SSL blanket
This commit is contained in:
John Marino 2016-09-09 23:42:41 +00:00
parent 53d5a159cd
commit 1bc82a0f4f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421643

View File

@ -12,14 +12,15 @@ COMMENT= Encrypted SQLite database
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_OPENSSL= yes
USE_LDCONFIG= yes
USE_GITHUB= yes
USES= libtool pathfix tcl:86,build
USES= libtool pathfix ssl tcl:86,build
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-tempstore=yes --disable-tcl --disable-readline
CPPFLAGS+= -DSQLITE_HAS_CODEC
LDFLAGS+= -L${OPENSSLLIB}
CFLAGS+= -I${OPENSSLINC}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so ${STAGEDIR}${PREFIX}/bin/*