/[gentoo-alt]/trunk/overlay/sys-freebsd/freebsd-lib/files/freebsd-lib-6.0-fixmakefiles.patch
Gentoo

Contents of /trunk/overlay/sys-freebsd/freebsd-lib/files/freebsd-lib-6.0-fixmakefiles.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 789 - (show annotations) (download)
Tue Sep 27 21:40:21 2005 UTC (12 years, 11 months ago) by pylon
File size: 2687 byte(s)
Moving stuff into the overlay
1 Index: freebsd-6.0/lib/libc/Makefile
2 ===================================================================
3 --- freebsd-6.0.orig/lib/libc/Makefile
4 +++ freebsd-6.0/lib/libc/Makefile
5 @@ -13,7 +13,7 @@ LIB=c
6 SHLIB_MAJOR= 6
7 SHLIBDIR?= /lib
8 WARNS?= 2
9 -CFLAGS+=-I${.CURDIR}/include -I${.CURDIR}/../../include
10 +CFLAGS+=-I${.CURDIR}/include -I/usr/include
11 CFLAGS+=-I${.CURDIR}/${MACHINE_ARCH}
12 CLEANFILES+=tags
13 INSTALL_PIC_ARCHIVE=
14 Index: freebsd-6.0/lib/libcam/Makefile
15 ===================================================================
16 --- freebsd-6.0.orig/lib/libcam/Makefile
17 +++ freebsd-6.0/lib/libcam/Makefile
18 @@ -34,9 +34,9 @@ MLINKS+= cam.3 cam_open_device.3 \
19 cam_cdbparse.3 csio_encode_visit.3 \
20 cam_cdbparse.3 buff_encode_visit.3
21
22 -.PATH: ${.CURDIR}/../../sys/cam/scsi ${.CURDIR}/../../sys/cam
23 +.PATH: /usr/src/sys/cam/scsi /usr/src/sys/cam
24
25 -SDIR= ${.CURDIR}/../../sys
26 +SDIR= /usr/src/sys
27 CFLAGS+= -I${.CURDIR} -I${SDIR}
28
29 .include <bsd.lib.mk>
30 Index: freebsd-6.0/lib/libkvm/Makefile
31 ===================================================================
32 --- freebsd-6.0.orig/lib/libkvm/Makefile
33 +++ freebsd-6.0/lib/libkvm/Makefile
34 @@ -3,7 +3,7 @@
35
36 LIB= kvm
37 SHLIBDIR?= /lib
38 -CFLAGS+=-DLIBC_SCCS -I${.CURDIR}
39 +CFLAGS+=-DLIBC_SCCS -I${.CURDIR} -I/usr/src/sys
40 SRCS= kvm.c kvm_${MACHINE_ARCH}.c kvm_file.c kvm_getloadavg.c \
41 kvm_getswapinfo.c kvm_proc.c
42 INCS= kvm.h
43 Index: freebsd-6.0/lib/libngatm/Makefile
44 ===================================================================
45 --- freebsd-6.0.orig/lib/libngatm/Makefile
46 +++ freebsd-6.0/lib/libngatm/Makefile
47 @@ -8,7 +8,7 @@ MAN= libngatm.3 uniaddr.3 unifunc.3 unim
48 WARNS?= 6
49
50 # source of the library lives in contrib
51 -SDIR= ${.CURDIR}/../../sys
52 +SDIR= /usr/src/sys
53 CTRB= ${.CURDIR}/../../contrib/ngatm
54 LIBBASE= ${SDIR}/contrib/ngatm
55
56 Index: freebsd-6.0/lib/libsbuf/Makefile
57 ===================================================================
58 --- freebsd-6.0.orig/lib/libsbuf/Makefile
59 +++ freebsd-6.0/lib/libsbuf/Makefile
60 @@ -5,6 +5,6 @@ SHLIBDIR?= /lib
61 SRCS= subr_sbuf.c
62 WARNS?= 2
63
64 -.PATH: ${.CURDIR}/../../sys/kern
65 +.PATH: /usr/src/sys/kern
66
67 .include <bsd.lib.mk>
68 Index: freebsd-6.0/lib/libypclnt/Makefile
69 ===================================================================
70 --- freebsd-6.0.orig/lib/libypclnt/Makefile
71 +++ freebsd-6.0/lib/libypclnt/Makefile
72 @@ -24,8 +24,8 @@ GENSRCS=yp.h \
73 yppasswd_private_xdr.c
74
75 RPCGEN= rpcgen -C
76 -RPCSRC= ${.CURDIR}/../../include/rpcsvc/yp.x
77 -RPCSRC_PW= ${.CURDIR}/../../include/rpcsvc/yppasswd.x
78 +RPCSRC= /usr/include/rpcsvc/yp.x
79 +RPCSRC_PW= /usr/include/rpcsvc/yppasswd.x
80 RPCSRC_PRIV= ${.CURDIR}/../../usr.sbin/rpc.yppasswdd/yppasswd_private.x
81
82 yp.h: ${RPCSRC}

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20