summaryrefslogtreecommitdiff
path: root/devel/libscsi/patches/patch-ab
blob: d8adf5ac85549e963855a5be93b800c92b584526 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$NetBSD: patch-ab,v 1.5 2001/12/20 11:24:07 tron Exp $

--- Makefile.orig	Wed Feb 18 15:43:00 1998
+++ Makefile	Thu Dec 20 12:22:50 2001
@@ -4,7 +4,11 @@
 #CFLAGS+=-DLIBC_SCCS -I${.CURDIR}/../../sys
 SRCS=	scsi.c
 
-MAN3=	scsi.3
+NOLINT=	1
+
+MANINSTALL= maninstall catinstall 
+
+MAN+=	scsi.3
 
 MLINKS+=scsi.3 scsireq_buff_decode.3 scsi.3 scsireq_build.3 \
 	scsi.3 scsireq_decode.3 scsi.3 scsireq_encode.3 \
@@ -14,8 +18,8 @@
 	scsi.3 scsi_debug_output.3
 
 beforeinstall:
-	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/scsi.h \
-	    ${DESTDIR}/usr/include
+	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/scsi.h \
+	    ${LOCALBASE}/include
 
 
 .include <bsd.lib.mk>