summary refs log tree commit diff
path: root/pkgs/os-specific/bsd/freebsd/libnetbsd-do-install.patch
blob: a7bd032d2be54ba8425493b6cf0d67fc51791ae1 (plain) (blame)
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
29
30
31
32
diff --git a/Makefile b/Makefile
index 22710f3d933..22effc848cf 100644
--- a/lib/libnetbsd/Makefile
+++ b/lib/libnetbsd/Makefile
@@ -9,6 +9,26 @@ CFLAGS+=	-I${.CURDIR}
 
 SRCS+=	efun.c sockaddr_snprintf.c strsuftoll.c util.c util.h
 
-INTERNALLIB=
+INCSGROUPS= INCS SYSINCS NETINETINCS
+
+INCS+= \
+	glob.h \
+	pthread.h \
+	rmd160.h \
+	sha1.h \
+	sha2.h \
+	stdlib.h \
+	util.h
+
+SYSINCSDIR= ${INCLUDEDIR}/sys
+SYSINCS+= \
+	sys/cdefs.h \
+	sys/event.h \
+	sys/types.h \
+	sys/wait.h
+
+NETINETINCSDIR= ${INCLUDEDIR}/netinet
+NETINETINCS+= \
+	netinet/in.h
 
 .include <bsd.lib.mk>