Module Name:    src
Committed By:   rin
Date:           Wed Dec  2 02:21:43 UTC 2020

Modified Files:
        src/usr.sbin/racoon: Makefile

Log Message:
Explicitly link liblber and libssl when ldap support is enabled.
Fix sun2, i.e., MKPIC=no build.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/usr.sbin/racoon/Makefile

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

Modified files:

Index: src/usr.sbin/racoon/Makefile
diff -u src/usr.sbin/racoon/Makefile:1.37 src/usr.sbin/racoon/Makefile:1.38
--- src/usr.sbin/racoon/Makefile:1.37	Tue Dec  1 10:10:57 2020
+++ src/usr.sbin/racoon/Makefile	Wed Dec  2 02:21:43 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2020/12/01 10:10:57 bouyer Exp $
+# $NetBSD: Makefile,v 1.38 2020/12/02 02:21:43 rin Exp $
 
 WARNS?=	0	# XXX third-party program, many issues
 NOCLANGERROR=	# defined
@@ -60,8 +60,8 @@ CPPFLAGS+=-DINET6
 
 .if (${USE_LDAP} != "no")
 CPPFLAGS+=-DHAVE_LIBLDAP
-LDADD+=-lldap
-DPADD+= ${LIBLDAP}
+LDADD+=-lldap -llber -lssl
+DPADD+= ${LIBLDAP} ${LIBLBER} ${LIBSSL}
 .endif
 
 LDADD+= -lcrypto -lcrypt

Reply via email to