aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2013-12-06 05:47:53 +0800
committermi <mi@FreeBSD.org>2013-12-06 05:47:53 +0800
commit31f247326ea12582a129640c0690daa48cf64c22 (patch)
tree9cf4d74cf889c30ec9f6ee96dc79ad745591c0a3 /devel
parent1b959a136c72a77fdd3c53df8b3f8b83e0368c9c (diff)
downloadfreebsd-ports-gnome-31f247326ea12582a129640c0690daa48cf64c22.tar.gz
freebsd-ports-gnome-31f247326ea12582a129640c0690daa48cf64c22.tar.zst
freebsd-ports-gnome-31f247326ea12582a129640c0690daa48cf64c22.zip
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@
Diffstat (limited to 'devel')
-rw-r--r--devel/tcl-trf/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/tcl-trf/Makefile b/devel/tcl-trf/Makefile
index 5ff18e978610..faba66bdf3e7 100644
--- a/devel/tcl-trf/Makefile
+++ b/devel/tcl-trf/Makefile
@@ -34,8 +34,10 @@ CONFIGURE_ARGS= --with-tcl=${LOCALBASE}/lib/tcl${TCL_VER} \
--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
#