Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2015 20:26:08 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397439 - head/security/p5-Crypt-SMIME
Message-ID:  <201509202026.t8KKQ8pH083976@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Sep 20 20:26:07 2015
New Revision: 397439
URL: https://svnweb.freebsd.org/changeset/ports/397439

Log:
  - Fix OpenSSL dependency
  - Remove WITH_OPENSSL_PORT
  - While I'm here:
    - Remove RUN_DEPENDS: ExtUtils::CChecker and ExtUtils::PkgConfig are build dependencies
    - Update TEST_DEPENDS
    - Sort PLIST
  - Bump PORTREVISION for dependency change
  
  This port works fine with OpenSSL from base. I manually added libcrypto.pc
  (modified one from security/openssl with s|/local||) to /usr/libdata/pkgconfig
  before running tests. Though author assumes libcrypto.pc existence (in tests),
  the functionality itself is not affected. I decided to remove WITH_OPENSSL_PORT.
  
  PR:		203205
  Submitted by:	Geoffroy Desvernay <dgeo@centrale-marseille.fr>

Modified:
  head/security/p5-Crypt-SMIME/Makefile
  head/security/p5-Crypt-SMIME/pkg-plist

Modified: head/security/p5-Crypt-SMIME/Makefile
==============================================================================
--- head/security/p5-Crypt-SMIME/Makefile	Sun Sep 20 20:26:02 2015	(r397438)
+++ head/security/p5-Crypt-SMIME/Makefile	Sun Sep 20 20:26:07 2015	(r397439)
@@ -2,7 +2,7 @@
 
 PORTNAME=	Crypt-SMIME
 PORTVERSION=	0.15
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	security perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -12,21 +12,21 @@ COMMENT=	S/MIME message signing, verific
 
 LICENSE=	ART10
 
-RUN_DEPENDS=	p5-ExtUtils-CChecker>=0:${PORTSDIR}/devel/p5-ExtUtils-CChecker \
+BUILD_DEPENDS=	p5-ExtUtils-CChecker>=0:${PORTSDIR}/devel/p5-ExtUtils-CChecker \
 		p5-ExtUtils-PkgConfig>=0:${PORTSDIR}/devel/p5-ExtUtils-PkgConfig
-BUILD_DEPENDS=	${RUN_DEPENDS}
 TEST_DEPENDS=	p5-Taint-Util>=0:${PORTSDIR}/devel/p5-Taint-Util \
 		p5-Test-Dependencies>=0:${PORTSDIR}/devel/p5-Test-Dependencies \
 		p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
-		p5-Test-Pod>=0:${PORTSDIR}/devel/p5-Test-Pod \
-		p5-Test-Pod-Coverage>=0:${PORTSDIR}/devel/p5-Test-Pod-Coverage \
+		p5-Test-Pod>=1.14:${PORTSDIR}/devel/p5-Test-Pod \
+		p5-Test-Pod-Coverage>=1.04:${PORTSDIR}/devel/p5-Test-Pod-Coverage \
 		p5-Test-Taint>=0:${PORTSDIR}/devel/p5-Test-Taint
 
 USES=		perl5
 USE_OPENSSL=	yes
-WITH_OPENSSL_PORT?=	yes
 USE_PERL5=	configure
 
+CONFIGURE_ENV=	LIBCRYPTO_CFLAGS="-I${OPENSSLINC}" LIBCRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto"
+
 post-stage:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/SMIME/SMIME.so
 

Modified: head/security/p5-Crypt-SMIME/pkg-plist
==============================================================================
--- head/security/p5-Crypt-SMIME/pkg-plist	Sun Sep 20 20:26:02 2015	(r397438)
+++ head/security/p5-Crypt-SMIME/pkg-plist	Sun Sep 20 20:26:07 2015	(r397439)
@@ -1,5 +1,5 @@
-%%SITE_ARCH%%/auto/Crypt/SMIME/SMIME.so
-%%SITE_ARCH%%/Crypt/SMIME/JA.pod
 %%SITE_ARCH%%/Crypt/SMIME.pm
+%%SITE_ARCH%%/Crypt/SMIME/JA.pod
+%%SITE_ARCH%%/auto/Crypt/SMIME/SMIME.so
 %%PERL5_MAN3%%/SMIME.3.gz
 %%PERL5_MAN3%%/SMIME::JA.3.gz



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