From owner-svn-ports-head@FreeBSD.ORG Wed Jan 8 07:12:01 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C13A9B95; Wed, 8 Jan 2014 07:12:01 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A1FED1713; Wed, 8 Jan 2014 07:12:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s087C1dN036128; Wed, 8 Jan 2014 07:12:01 GMT (envelope-from dinoex@svn.freebsd.org) Received: (from dinoex@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s087C1RX036127; Wed, 8 Jan 2014 07:12:01 GMT (envelope-from dinoex@svn.freebsd.org) Message-Id: <201401080712.s087C1RX036127@svn.freebsd.org> From: Dirk Meyer Date: Wed, 8 Jan 2014 07:12:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339068 - head/security/openssl X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jan 2014 07:12:01 -0000 Author: dinoex Date: Wed Jan 8 07:12:01 2014 New Revision: 339068 URL: http://svnweb.freebsd.org/changeset/ports/339068 Log: - better fix for perl5.18 Submitted by: Jung-uk Kim - clean up Modified: head/security/openssl/Makefile Modified: head/security/openssl/Makefile ============================================================================== --- head/security/openssl/Makefile Wed Jan 8 02:08:19 2014 (r339067) +++ head/security/openssl/Makefile Wed Jan 8 07:12:01 2014 (r339068) @@ -58,14 +58,16 @@ MANPREFIX= ${PREFIX} FIX_POD=apps/cms.pod \ apps/smime.pod \ - ssl/SSL_accept.pod \ - ssl/SSL_clear.pod \ - ssl/SSL_COMP_add_compression_method.pod ssl/SSL_connect.pod \ - ssl/SSL_CTX_add_session.pod ssl/SSL_CTX_load_verify_locations.pod \ + ssl/SSL_COMP_add_compression_method.pod \ + ssl/SSL_CTX_add_session.pod \ + ssl/SSL_CTX_load_verify_locations.pod \ ssl/SSL_CTX_set_client_CA_list.pod \ ssl/SSL_CTX_set_session_id_context.pod \ ssl/SSL_CTX_set_ssl_version.pod \ ssl/SSL_CTX_use_psk_identity_hint.pod \ + ssl/SSL_accept.pod \ + ssl/SSL_clear.pod \ + ssl/SSL_connect.pod \ ssl/SSL_do_handshake.pod \ ssl/SSL_read.pod \ ssl/SSL_session_reused.pod \ @@ -1176,18 +1178,16 @@ pre-everything:: .endif -pre-patch: - ${REINPLACE_CMD} -e 's|^=item \([0-9]\)$$|=item C<\1>|' \ - ${FIX_POD:S,^,${WRKSRC}/doc/,} - post-patch: - @${REINPLACE_CMD} -e 's|m4 -B 8192|m4|g' \ + ${REINPLACE_CMD} -E -e 's|^=item ([0-9])[[:blank:]]*$$|=item Z<>\1|' \ + ${FIX_POD:S,^,${WRKSRC}/doc/,} + ${REINPLACE_CMD} -e 's|m4 -B 8192|m4|g' \ ${WRKSRC}/crypto/des/Makefile ${REINPLACE_CMD} -e 's|SHLIB_VERSION_NUMBER "1.0.0"|SHLIB_VERSION_NUMBER "${OPENSSL_SHLIBVER}"|' \ ${WRKSRC}/crypto/opensslv.h do-configure: - @${REINPLACE_CMD} -e "s|options 386|options|" \ + ${REINPLACE_CMD} -e "s|options 386|options|" \ ${WRKSRC}/config .if ${PORT_OPTIONS:MTHREADS} cd ${WRKSRC} \ @@ -1201,7 +1201,7 @@ do-configure: ./config --prefix=${PREFIX} --openssldir=${OPENSSLDIR} \ -L${PREFIX}/lib ${EXTRACONFIGURE} .endif - @${REINPLACE_CMD} \ + ${REINPLACE_CMD} \ -e 's|^MANDIR=.*$$|MANDIR=$$(MANPREFIX)/man|' \ -e 's|$$(LIBDIR)/pkgconfig|libdata/pkgconfig|g' \ -e 's|LIBVERSION=[^ ]* |LIBVERSION=$(OPENSSL_SHLIBVER) |' \ @@ -1210,15 +1210,15 @@ do-configure: post-install: .if ${PORT_OPTIONS:MSHARED} .for i in libcrypto libssl - @${INSTALL_DATA} ${WRKSRC}/$i.so.${OPENSSL_SHLIBVER} ${PREFIX}/lib - @${LN} -sf $i.so.${OPENSSL_SHLIBVER} ${PREFIX}/lib/$i.so + ${INSTALL_DATA} ${WRKSRC}/$i.so.${OPENSSL_SHLIBVER} ${PREFIX}/lib + ${LN} -sf $i.so.${OPENSSL_SHLIBVER} ${PREFIX}/lib/$i.so .endfor .endif .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/doc/openssl.txt ${DOCSDIR}/ + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/openssl.txt ${DOCSDIR}/ .endif - @${SED} -e 's#/usr/local#${PREFIX}#g' ${PKGMESSAGE} + @${SED} -e 's|/usr/local|${PREFIX}|g' ${PKGMESSAGE} test: build cd ${WRKSRC} && ${MAKE} test