svn commit: r421715 - head/finance/php-tclink

John Marino marino at FreeBSD.org
Sat Sep 10 18:00:22 UTC 2016


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 at 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>


More information about the svn-ports-head mailing list