Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/sesd Kill the -I... instead of adding destdir. Cha...



details:   https://anonhg.NetBSD.org/src/rev/b9b65542a173
branches:  trunk
changeset: 482795:b9b65542a173
user:      erh <erh%NetBSD.org@localhost>
date:      Tue Feb 22 05:26:55 2000 +0000

description:
Kill the -I... instead of adding destdir.  Change SESINC so the build system can work its magic wrt any DESTDIR mods.

diffstat:

 usr.sbin/sesd/Makefile.inc |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 25e0dca86321 -r b9b65542a173 usr.sbin/sesd/Makefile.inc
--- a/usr.sbin/sesd/Makefile.inc        Tue Feb 22 05:10:53 2000 +0000
+++ b/usr.sbin/sesd/Makefile.inc        Tue Feb 22 05:26:55 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.4 2000/02/22 05:10:53 erh Exp $
+# $NetBSD: Makefile.inc,v 1.5 2000/02/22 05:26:55 erh Exp $
 # $OpenBSD: $
 # $FreeBSD: $
 #
@@ -37,11 +37,14 @@
 SYS    !=      uname -s
 
 .if ${SYS} == OpenBSD
-COPTS  +=      -I${DESTDIR}/usr/include/scsi -DSESINC="<ses.h>"
+#COPTS +=      -I${DESTDIR}/usr/include/scsi -DSESINC="<ses.h>"
+COPTS  +=      -DSESINC"<scsi/ses.h>"
 .elif  ${SYS} == NetBSD
-COPTS  +=      -I${DESTDIR}/usr/include/dev/scsipi -DSESINC="<ses.h>"
+#COPTS +=      -I${DESTDIR}/usr/include/dev/scsipi -DSESINC="<ses.h>"
+COPTS  +=      -DSESINC="<dev/scsipi/ses.h>"
 .else
-COPTS  +=      -I${DESTDIR}/usr/include/cam/scsi -DSESINC="<scsi_ses.h>"
+#COPTS +=      -I${DESTDIR}/usr/include/cam/scsi -DSESINC="<scsi_ses.h>"
+COPTS  +=      -DSESINC="<cam/scsi/scsi_ses.h>"
 .endif
 
 .if exists(${.CURDIR}/../../Makefile.inc)



Home | Main Index | Thread Index | Old Index