aboutsummaryrefslogtreecommitdiffstats
path: root/finance/php-tclink/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'finance/php-tclink/Makefile')
-rw-r--r--finance/php-tclink/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/finance/php-tclink/Makefile b/finance/php-tclink/Makefile
index 1a8f50b12af..65c4a8a4ea6 100644
--- a/finance/php-tclink/Makefile
+++ b/finance/php-tclink/Makefile
@@ -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>