- Mark BROKEN on 9.x:

CMake Error at cmake/ssl.cmake:249 (MESSAGE):
  Cannot find appropriate system libraries for SSL.  Make sure you've
  specified a supported SSL version.  Consult the documentation for WITH_SSL
  alternatives

- Add LICENSE_FILE
- Fix openssl dependency, it's not build-time only

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2016-10-24 10:14:35 +00:00
parent f56c6365de
commit e3a96b61ab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=424559

View file

@ -3,6 +3,7 @@
PORTNAME= mysql-connector-c
PORTVERSION= 6.1.6
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= MYSQL/Connector-C
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
@ -11,8 +12,11 @@ MAINTAINER= bofh@FreeBSD.org
COMMENT= MySQL database connector for C
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cmake:outsource compiler:features mysql ssl:build
BROKEN_FreeBSD_9= does not build
USES= cmake:outsource compiler:features mysql ssl
CMAKE_ARGS+= -DOPENSSL_INCLUDE_DIR="${OPENSSLINC}"
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}