From 645f9743061db8316e9d23fe7c4b81bf1ef93012 Mon Sep 17 00:00:00 2001 From: christos Date: Tue, 8 Jul 2014 13:04:07 +0000 Subject: [PATCH] fix libcrypto --- .../ibm-public/postfix/sbin/posttls-finger/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/external/ibm-public/postfix/sbin/posttls-finger/Makefile b/external/ibm-public/postfix/sbin/posttls-finger/Makefile index 0cd5b8c54e3b..2806b840afd3 100644 --- a/external/ibm-public/postfix/sbin/posttls-finger/Makefile +++ b/external/ibm-public/postfix/sbin/posttls-finger/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2014/07/08 09:58:12 martin Exp $ +# $NetBSD: Makefile,v 1.3 2014/07/08 13:04:07 christos Exp $ NOMAN= # defined @@ -10,7 +10,12 @@ SRCS= posttls-finger.c tlsmgrmem.c DIST= ${NETBSDSRCDIR}/external/ibm-public/postfix/dist/src/${PROG} .PATH: ${DIST} -DPADD+= ${LIBPDNS} ${LIBPTLS} ${LIBPGLOBAL} ${LIBPUTIL} ${LIBCRYPTO} -LDADD+= ${LIBPDNS} ${LIBPTLS} ${LIBPGLOBAL} ${LIBPUTIL} ${LIBCRYPTO} +DPADD+= ${LIBPDNS} ${LIBPTLS} ${LIBPGLOBAL} ${LIBPUTIL} +LDADD+= ${LIBPDNS} ${LIBPTLS} ${LIBPGLOBAL} ${LIBPUTIL} + +.if ${MKCRYPTO} != "no" +DPADD+= ${LIBCRYPTO} +LDADD+= -lcrypto +.endif .include