Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Sep 2016 18:00:21 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421715 - head/finance/php-tclink
Message-ID:  <201609101800.u8AI0LJ5047399@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sat Sep 10 18:00:21 2016
New Revision: 421715
URL: https://svnweb.freebsd.org/changeset/ports/421715

Log:
  devel/php-tclink: Document SSL requirement and fix build for LibreSSL
  
  Approved by:	SSL blanket

Modified:
  head/finance/php-tclink/Makefile

Modified: head/finance/php-tclink/Makefile
==============================================================================
--- head/finance/php-tclink/Makefile	Sat Sep 10 17:58:36 2016	(r421714)
+++ head/finance/php-tclink/Makefile	Sat Sep 10 18:00:21 2016	(r421715)
@@ -12,9 +12,13 @@ DISTNAME=	${PORTNAME}-${PORTVERSION}-php
 MAINTAINER=	mbowie@buzmo.com
 COMMENT=	PHP extension for TrustCommerce credit card processing
 
-USES=		php:ext
-USE_OPENSSL=	yes
+USES=		php:ext ssl
 
 IGNORE_WITH_PHP=	70
 
+post-patch:
+	# avoid name conflicts with libressl
+	${REINPLACE_CMD} -e 's|\(X509_STORE_load_mem\)|uniq_\1|g' \
+			 -e 's|\(X509_LOOKUP_mem\)|uniq_\1|g' ${WRKSRC}/mem.c
+
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609101800.u8AI0LJ5047399>