Sun Apr 24 19:00:56 2011 UTC ()
We no longer need to -I/usr/include/krb5.


(elric)
diff -r1.31 -r1.32 src/lib/libtelnet/Makefile

cvs diff -r1.31 -r1.32 src/lib/libtelnet/Makefile (expand / switch to unified diff)

--- src/lib/libtelnet/Makefile 2008/08/29 00:02:22 1.31
+++ src/lib/libtelnet/Makefile 2011/04/24 19:00:56 1.32
@@ -1,38 +1,37 @@ @@ -1,38 +1,37 @@
1# from: @(#)Makefile 8.2 (Berkeley) 12/15/93 1# from: @(#)Makefile 8.2 (Berkeley) 12/15/93
2# $NetBSD: Makefile,v 1.31 2008/08/29 00:02:22 gmcgarry Exp $ 2# $NetBSD: Makefile,v 1.32 2011/04/24 19:00:56 elric Exp $
3 3
4USE_FORT?= yes # network protocol library 4USE_FORT?= yes # network protocol library
5 5
6LIBISPRIVATE= yes 6LIBISPRIVATE= yes
7 7
8.include <bsd.own.mk> 8.include <bsd.own.mk>
9 9
10WARNS?= 1 10WARNS?= 1
11 11
12LIB= telnet 12LIB= telnet
13SRCS= auth.c encrypt.c genget.c getent.c misc.c 13SRCS= auth.c encrypt.c genget.c getent.c misc.c
14 14
15CPPFLAGS+= -DHAS_CGETENT 15CPPFLAGS+= -DHAS_CGETENT
16CPPFLAGS+= -I${.CURDIR} 16CPPFLAGS+= -I${.CURDIR}
17 17
18.if (${USE_KERBEROS} != "no") 18.if (${USE_KERBEROS} != "no")
19SRCS+= enc_des.c 19SRCS+= enc_des.c
20CPPFLAGS+= -DENCRYPTION -DAUTHENTICATION 20CPPFLAGS+= -DENCRYPTION -DAUTHENTICATION
21CPPFLAGS+= -DDES_ENCRYPTION 21CPPFLAGS+= -DDES_ENCRYPTION
22 22
23SRCS+= kerberos5.c 23SRCS+= kerberos5.c
24CPPFLAGS+= -DKRB5 24CPPFLAGS+= -DKRB5
25CPPFLAGS+= -I${DESTDIR}/usr/include/krb5 
26.endif 25.endif
27 26
28.if ${USE_PAM} != "no" && ${MKCRYPTO} != "no" 27.if ${USE_PAM} != "no" && ${MKCRYPTO} != "no"
29SRCS+= sra.c pk.c 28SRCS+= sra.c pk.c
30CPPFLAGS+= -DSRA 29CPPFLAGS+= -DSRA
31.endif 30.endif
32 31
33.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC) 32.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
34.for f in auth enc_des kerberos5 pk 33.for f in auth enc_des kerberos5 pk
35COPTS.${f}.c+= -Wno-pointer-sign 34COPTS.${f}.c+= -Wno-pointer-sign
36.endfor 35.endfor
37.endif 36.endif
38 37