Module Name:    src
Committed By:   christos
Date:           Tue Jul  8 13:04:07 UTC 2014

Modified Files:
        src/external/ibm-public/postfix/sbin/posttls-finger: Makefile

Log Message:
fix libcrypto


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
    src/external/ibm-public/postfix/sbin/posttls-finger/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/ibm-public/postfix/sbin/posttls-finger/Makefile
diff -u src/external/ibm-public/postfix/sbin/posttls-finger/Makefile:1.2 src/external/ibm-public/postfix/sbin/posttls-finger/Makefile:1.3
--- src/external/ibm-public/postfix/sbin/posttls-finger/Makefile:1.2	Tue Jul  8 05:58:12 2014
+++ src/external/ibm-public/postfix/sbin/posttls-finger/Makefile	Tue Jul  8 09:04:07 2014
@@ -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 <bsd.prog.mk>

Reply via email to