From f5f443619840980c1c9355dbec2ee2f652b7be5c Mon Sep 17 00:00:00 2001 From: deraadt Date: Tue, 14 Mar 2000 20:13:28 +0000 Subject: [PATCH] support DESTDIR include fetching; dm --- usr.bin/ssh/lib/Makefile | 2 +- usr.bin/ssh/ssh/Makefile | 2 +- usr.bin/ssh/sshd/Makefile | 2 +- usr.sbin/afs/Applflags.inc | 2 +- usr.sbin/afs/libarla/Makefile.rxkad.inc | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/usr.bin/ssh/lib/Makefile b/usr.bin/ssh/lib/Makefile index 8f7e4f75afa..51aedd4a3e3 100644 --- a/usr.bin/ssh/lib/Makefile +++ b/usr.bin/ssh/lib/Makefile @@ -15,7 +15,7 @@ install: .include .if (${KERBEROS} == "yes") -CFLAGS+= -DKRB4 -I/usr/include/kerberosIV +CFLAGS+= -DKRB4 -I${DESTDIR}/usr/include/kerberosIV .if (${AFS} == "yes") CFLAGS+= -DAFS SRCS+= radix.c diff --git a/usr.bin/ssh/ssh/Makefile b/usr.bin/ssh/ssh/Makefile index 61a38add711..b21445506f1 100644 --- a/usr.bin/ssh/ssh/Makefile +++ b/usr.bin/ssh/ssh/Makefile @@ -20,7 +20,7 @@ SRCS= ssh.c sshconnect.c log-client.c readconf.c clientloop.c .include # for AFS .if (${KERBEROS} == "yes") -CFLAGS+= -DKRB4 -I/usr/include/kerberosIV +CFLAGS+= -DKRB4 -I${DESTDIR}/usr/include/kerberosIV LDADD+= -lkrb DPADD+= ${LIBKRB} .if (${AFS} == "yes") diff --git a/usr.bin/ssh/sshd/Makefile b/usr.bin/ssh/sshd/Makefile index c0ca67428d1..3815b5a302b 100644 --- a/usr.bin/ssh/sshd/Makefile +++ b/usr.bin/ssh/sshd/Makefile @@ -17,7 +17,7 @@ CFLAGS+= -DAFS LDADD+= -lkafs DPADD+= ${LIBKRBAFS} .endif # AFS -CFLAGS+= -DKRB4 -I/usr/include/kerberosIV +CFLAGS+= -DKRB4 -I${DESTDIR}/usr/include/kerberosIV SRCS+= auth-krb4.c LDADD+= -lkrb DPADD+= ${LIBKRB} diff --git a/usr.sbin/afs/Applflags.inc b/usr.sbin/afs/Applflags.inc index 96a20c36376..1222c11d1fd 100644 --- a/usr.sbin/afs/Applflags.inc +++ b/usr.sbin/afs/Applflags.inc @@ -5,5 +5,5 @@ CFLAGS += -I${.CURDIR}/../src/util -I${.CURDIR}/../src/lib/roken \ -I${.CURDIR}/../src/rxdef -I${.CURDIR}/../src/lwp -I../libarla \ -I${.CURDIR}/../src/arlad -I${.CURDIR}/../src \ -I${.CURDIR}/../src/lib/ko -I${.CURDIR}/../src/rxkad \ - -I${.CURDIR}/../src/lib/sl -I/usr/include/kerberosIV + -I${.CURDIR}/../src/lib/sl -I${DESTDIR}/usr/include/kerberosIV diff --git a/usr.sbin/afs/libarla/Makefile.rxkad.inc b/usr.sbin/afs/libarla/Makefile.rxkad.inc index 6cf8eab6e68..d39a79c0fec 100644 --- a/usr.sbin/afs/libarla/Makefile.rxkad.inc +++ b/usr.sbin/afs/libarla/Makefile.rxkad.inc @@ -2,6 +2,6 @@ SRCS += rxk_locl.c rxk_clnt.c rxk_serv.c rxk_crpt.c rxk_info.c \ osi_alloc.c compat.c -CFLAGS += -I${.CURDIR}/../src/rxkad -I/usr/include/kerberosIV +CFLAGS += -I${.CURDIR}/../src/rxkad -I${DESTDIR}/usr/include/kerberosIV .PATH: ${.CURDIR}/../src/rxkad -- 2.20.1