svn commit: r335718 - head/devel/tcl-trf

Mikhail Teterin mi at FreeBSD.org
Thu Dec 5 21:47:54 UTC 2013


Author: mi
Date: Thu Dec  5 21:47:53 2013
New Revision: 335718
URL: http://svnweb.freebsd.org/changeset/ports/335718

Log:
  Automatically switch to using -lmd instead of -lcrypto on 10.x,
  where OpenSSL, most tiringly, no longer provides <openssl/md2.h>.
  
  Submitted by:	pkg-fallout@

Modified:
  head/devel/tcl-trf/Makefile

Modified: head/devel/tcl-trf/Makefile
==============================================================================
--- head/devel/tcl-trf/Makefile	Thu Dec  5 21:35:54 2013	(r335717)
+++ head/devel/tcl-trf/Makefile	Thu Dec  5 21:47:53 2013	(r335718)
@@ -34,8 +34,10 @@ CONFIGURE_ARGS=	--with-tcl=${LOCALBASE}/
 		--enable-static-md5
 
 NO_STAGE=	yes
+
+.include <bsd.port.options.mk>
 post-patch:
-.ifdef TRF_USE_MD
+.if defined(TRF_USE_MD) || ${OSREL} > 10
 	#
 	# Using FreeBSD's own -lmd instead of OpenSSL's -lcrypto
 	#


More information about the svn-ports-head mailing list