svn commit: r417963 - in head/security/p5-Business-PayPal-EWP: . files

Bernard Spil brnrd at FreeBSD.org
Sun Jul 3 09:55:20 UTC 2016


Author: brnrd
Date: Sun Jul  3 09:55:19 2016
New Revision: 417963
URL: https://svnweb.freebsd.org/changeset/ports/417963

Log:
  security/p5-Business-PayPal-EWP: Fix build with LibreSSL
  
  PR:		199176
  Approved by:	Maintainer time-out

Added:
  head/security/p5-Business-PayPal-EWP/files/
  head/security/p5-Business-PayPal-EWP/files/patch-Makefile.PL   (contents, props changed)
Modified:
  head/security/p5-Business-PayPal-EWP/Makefile

Modified: head/security/p5-Business-PayPal-EWP/Makefile
==============================================================================
--- head/security/p5-Business-PayPal-EWP/Makefile	Sun Jul  3 09:28:57 2016	(r417962)
+++ head/security/p5-Business-PayPal-EWP/Makefile	Sun Jul  3 09:55:19 2016	(r417963)
@@ -14,9 +14,8 @@ COMMENT=	Perl extension for PayPal Encry
 RUN_DEPENDS=	p5-Net-SSLeay>=0:security/p5-Net-SSLeay
 BUILD_DEPENDS=	p5-Net-SSLeay>=0:security/p5-Net-SSLeay
 
-USES=		dos2unix perl5
+USES=		dos2unix perl5 ssl
 USE_PERL5=	configure
-USE_OPENSSL=	yes
 CONFIGURE_ARGS=	${OPENSSLBASE}
 
 .include <bsd.port.mk>

Added: head/security/p5-Business-PayPal-EWP/files/patch-Makefile.PL
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/p5-Business-PayPal-EWP/files/patch-Makefile.PL	Sun Jul  3 09:55:19 2016	(r417963)
@@ -0,0 +1,11 @@
+--- Makefile.PL.orig	2015-02-28 21:17:47.891583000 +0100
++++ Makefile.PL	2015-02-28 21:21:30.013978756 +0100
+@@ -78,7 +78,7 @@
+     or die "Couldn't run `$exe_path' ($?)\n";
+ 
+ unless (($lib_name, $maj, $min, $letter) = $vers =~
+-	/^(OpenSSL)\s+(\d+\.\d+)\.(\d+)([a-z]*)/) {
++	/^(OpenSSL|LibreSSL)\s+(\d+\.\d+)\.(\d+)([a-z]*)/) {
+     die "OpenSSL version test failed (`$vers' was returned, but\n"
+     . "couldn't be parsed). Either you have bogus OpenSSL or a new version\n"
+     . "has changed the version number format.\n";


More information about the svn-ports-all mailing list