svn commit: r402873 - head/databases/sqlcipher

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Dec 3 12:34:46 UTC 2015


Author: amdmi3
Date: Thu Dec  3 12:34:44 2015
New Revision: 402873
URL: https://svnweb.freebsd.org/changeset/ports/402873

Log:
  - Add dependency on openssl
  - Strip binaries
  
  PR:		201397
  Submitted by:	yuri at rawbw.com
  Approved by:	jharris at widomaker.com (maintainer)

Modified:
  head/databases/sqlcipher/Makefile

Modified: head/databases/sqlcipher/Makefile
==============================================================================
--- head/databases/sqlcipher/Makefile	Thu Dec  3 12:17:30 2015	(r402872)
+++ head/databases/sqlcipher/Makefile	Thu Dec  3 12:34:44 2015	(r402873)
@@ -2,6 +2,7 @@
 
 PORTNAME=	sqlcipher
 PORTVERSION=	3.2.0
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	databases
 
@@ -9,7 +10,9 @@ MAINTAINER=	jharris at widomaker.com
 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
@@ -17,6 +20,8 @@ USES=		libtool pathfix tcl:86,build
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=--enable-tempstore=yes --disable-tcl --disable-readline
 CPPFLAGS+=	-DSQLITE_HAS_CODEC
-LDFLAGS+=	-lcrypto
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so ${STAGEDIR}${PREFIX}/bin/*
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list