summaryrefslogtreecommitdiff
path: root/devel/libscsi/patches/patch-ab
blob: df9261e322fd249c4f1900acdb7c1d0282c60108 (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
--- Makefile.orig	Wed Feb 18 15:43:00 1998
+++ Makefile	Sat May  2 22:48:20 1998
@@ -4,7 +4,11 @@
 #CFLAGS+=-DLIBC_SCCS -I${.CURDIR}/../../sys
 SRCS=	scsi.c
 
-MAN3=	scsi.3
+NOLINT=	1
+
+MANINSTALL?= catinstall maninstall
+
+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>