diff options
Diffstat (limited to 'sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.0-fixmakefiles.patch')
-rw-r--r-- | sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.0-fixmakefiles.patch | 241 |
1 files changed, 241 insertions, 0 deletions
diff --git a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.0-fixmakefiles.patch b/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.0-fixmakefiles.patch new file mode 100644 index 000000000000..0df740aef3dd --- /dev/null +++ b/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.0-fixmakefiles.patch @@ -0,0 +1,241 @@ +Index: usr.sbin/acpi/Makefile.inc +=================================================================== +--- usr.sbin/acpi/Makefile.inc.orig ++++ usr.sbin/acpi/Makefile.inc +@@ -1,8 +1,8 @@ + # $Id: freebsd-usbin-6.0-fixmakefiles.patch,v 1.1 2006/04/01 16:43:51 flameeyes Exp $ + # $FreeBSD: src/usr.sbin/acpi/Makefile.inc,v 1.8 2003/08/07 16:51:50 njl Exp $ + +-ACPICA_DIR= ${.CURDIR}/../../../sys/contrib/dev/acpica +-CFLAGS+= -I${.CURDIR}/../../../sys -I${ACPICA_DIR} -I${ACPICA_DIR}/compiler ++ACPICA_DIR= /usr/src/sys/contrib/dev/acpica ++CFLAGS+= -I/usr/src/sys -I${ACPICA_DIR} -I${ACPICA_DIR}/compiler + + .if exists(${.CURDIR}/../../Makefile.inc) + .include "${.CURDIR}/../../Makefile.inc" +Index: usr.sbin/arlcontrol/Makefile +=================================================================== +--- usr.sbin/arlcontrol/Makefile.orig ++++ usr.sbin/arlcontrol/Makefile +@@ -4,7 +4,7 @@ + # + + PROG= arlcontrol +-CFLAGS+= -I${.CURDIR}/../../sys -DARLCACHE ++CFLAGS+= -I/usr/src/sys -DARLCACHE + MAN= arlcontrol.8 + + .include <bsd.prog.mk> +Index: usr.sbin/dconschat/Makefile +=================================================================== +--- usr.sbin/dconschat/Makefile.orig ++++ usr.sbin/dconschat/Makefile +@@ -3,7 +3,7 @@ + PROG= dconschat + MAN= dconschat.8 + +-CFLAGS+= -I${.CURDIR}/../../sys ++CFLAGS+= -I/usr/src/sys + + DPADD= ${LIBKVM} + LDADD= -lkvm +Index: usr.sbin/fwcontrol/Makefile +=================================================================== +--- usr.sbin/fwcontrol/Makefile.orig ++++ usr.sbin/fwcontrol/Makefile +@@ -4,9 +4,9 @@ PROG= fwcontrol + SRCS= fwcontrol.c fwcrom.c fwdv.c + MAN= fwcontrol.8 + +-.PATH: ${.CURDIR}/../../sys/dev/firewire ++.PATH: /usr/src/sys/dev/firewire + +-SDIR= ${.CURDIR}/../../sys ++SDIR= /usr/src/sys + CFLAGS+=-I${.CURDIR} -I${SDIR} + + .include <bsd.prog.mk> +Index: usr.sbin/mlxcontrol/Makefile +=================================================================== +--- usr.sbin/mlxcontrol/Makefile.orig ++++ usr.sbin/mlxcontrol/Makefile +@@ -4,6 +4,6 @@ PROG= mlxcontrol + MAN= mlxcontrol.8 + SRCS= command.c config.c interface.c util.c + +-CFLAGS+= -I${.CURDIR}/../../sys ++CFLAGS+= -I/usr/src/sys + + .include <bsd.prog.mk> +Index: usr.sbin/ndiscvt/Makefile +=================================================================== +--- usr.sbin/ndiscvt/Makefile.orig ++++ usr.sbin/ndiscvt/Makefile +@@ -1,6 +1,6 @@ + # $FreeBSD: src/usr.sbin/ndiscvt/Makefile,v 1.7 2005/04/24 20:21:22 wpaul Exp $ + +-.PATH: ${.CURDIR}/../../sys/compat/ndis ++.PATH: /usr/src/sys/compat/ndis + + PROG= ndiscvt + SRCS= ndiscvt.c +@@ -17,7 +17,7 @@ LDADD= -ll + + YFLAGS+=-v + +-CFLAGS+=-I. -I${.CURDIR} -I${.CURDIR}/../../sys ++CFLAGS+=-I. -I${.CURDIR} -I/usr/src/sys + + CLEANFILES= y.output + +Index: usr.sbin/pciconf/Makefile +=================================================================== +--- usr.sbin/pciconf/Makefile.orig ++++ usr.sbin/pciconf/Makefile +@@ -4,6 +4,6 @@ + PROG= pciconf + MAN= pciconf.8 + +-CFLAGS+= -I${.CURDIR}/../../sys ++CFLAGS+= -I/usr/src/sys + + .include <bsd.prog.mk> +Index: usr.sbin/pnpinfo/Makefile +=================================================================== +--- usr.sbin/pnpinfo/Makefile.orig ++++ usr.sbin/pnpinfo/Makefile +@@ -5,7 +5,7 @@ + PROG= pnpinfo + MAN= pnpinfo.8 + +-CFLAGS+= -I${.CURDIR}/../../sys ++CFLAGS+= -I/usr/src/sys + + .if ${MACHINE} == "pc98" + CFLAGS+= -DPC98 +Index: usr.sbin/raycontrol/Makefile +=================================================================== +--- usr.sbin/raycontrol/Makefile.orig ++++ usr.sbin/raycontrol/Makefile +@@ -3,6 +3,6 @@ + PROG= raycontrol + MAN= raycontrol.8 + +-CFLAGS+= -I${.CURDIR}/../../sys ++CFLAGS+= -I/usr/src/sys + + .include <bsd.prog.mk> +Index: usr.sbin/rpc.ypxfrd/Makefile +=================================================================== +--- usr.sbin/rpc.ypxfrd/Makefile.orig ++++ usr.sbin/rpc.ypxfrd/Makefile +@@ -14,7 +14,7 @@ LDADD= -lrpcsvc + + CLEANFILES= ypxfrd_svc.c ypxfrd.h + +-RPCDIR= ${.CURDIR}/../../include/rpcsvc ++RPCDIR= /usr/include/rpcsvc + RPCGEN= rpcgen -I -C + + # We need to remove the 'static' keyword from _rpcsvcstate so that +Index: usr.sbin/setkey/Makefile +=================================================================== +--- usr.sbin/setkey/Makefile.orig ++++ usr.sbin/setkey/Makefile +@@ -41,9 +41,9 @@ CLEANFILES= y.tab.c y.tab.h key_test.o k + + # libpfkey + # ipsec_strerror.c is for avoiding shlib reference to non-exported function. +-.PATH: ${.CURDIR}/../../lib/libipsec ${.CURDIR}/../../sys/netkey ++.PATH: ${.CURDIR}/../../lib/libipsec /usr/src/sys/netkey + SRCS+= pfkey.c pfkey_dump.c key_debug.c ipsec_strerror.c +-CFLAGS+= -I${.CURDIR}/../../lib/libipsec -I${.CURDIR}/../../sys/netkey ++CFLAGS+= -I${.CURDIR}/../../lib/libipsec -I/usr/src/sys/netkey + + SRCS+= y.tab.h + y.tab.h: parse.y +Index: usr.sbin/sicontrol/Makefile +=================================================================== +--- usr.sbin/sicontrol/Makefile.orig ++++ usr.sbin/sicontrol/Makefile +@@ -3,6 +3,6 @@ + PROG= sicontrol + MAN= sicontrol.8 + +-CFLAGS+= -I${.CURDIR}/../../sys ++CFLAGS+= -I/usr/src/sys + + .include <bsd.prog.mk> +Index: usr.sbin/sysinstall/Makefile +=================================================================== +--- usr.sbin/sysinstall/Makefile.orig ++++ usr.sbin/sysinstall/Makefile +@@ -87,7 +87,7 @@ KEYMAPS= be.iso bg.bds.ctrlcaps bg.phone + keymap.h: + rm -f keymap.tmp + for map in ${KEYMAPS} ; do \ +- KEYMAP_PATH=${.CURDIR}/../../share/syscons/keymaps \ ++ KEYMAP_PATH=/usr/share/syscons/keymaps \ + kbdcontrol -L $$map | \ + sed -e '/^static accentmap_t/,$$d' >> keymap.tmp ; \ + done +Index: usr.sbin/yppush/Makefile +=================================================================== +--- usr.sbin/yppush/Makefile.orig ++++ usr.sbin/yppush/Makefile +@@ -1,6 +1,6 @@ + # $FreeBSD: src/usr.sbin/yppush/Makefile,v 1.9 2001/07/20 06:20:30 obrien Exp $ + +-RPCDIR= ${.CURDIR}/../../include/rpcsvc ++RPCDIR= /usr/include/rpcsvc + .PATH: ${RPCDIR} ${.CURDIR}/../../usr.sbin/ypserv \ + ${.CURDIR}/../../libexec/ypxfr + +Index: usr.sbin/ypserv/Makefile +=================================================================== +--- usr.sbin/ypserv/Makefile.orig ++++ usr.sbin/ypserv/Makefile +@@ -1,6 +1,6 @@ + # $FreeBSD: src/usr.sbin/ypserv/Makefile,v 1.24 2004/10/18 21:42:15 ru Exp $ + +-RPCDIR= ${.CURDIR}/../../include/rpcsvc ++RPCDIR= /usr/include/rpcsvc + .PATH: ${RPCDIR} + + PROG= ypserv +Index: usr.sbin/ntp/doc/Makefile +=================================================================== +--- usr.sbin/ntp/doc/Makefile.orig ++++ usr.sbin/ntp/doc/Makefile +@@ -1,6 +1,6 @@ + # $FreeBSD: src/usr.sbin/ntp/doc/Makefile,v 1.11 2005/05/25 16:30:43 sheldonh Exp $ + +-FILESDIR= ${SHAREDIR}/doc/ntp ++FILESDIR= ${DOCDIR}/ntp + + FILES= accopt.html assoc.html audio.html authopt.html build.html \ + clockopt.html \ +Index: usr.sbin/pcvt/Misc/Doc/Makefile +=================================================================== +--- usr.sbin/pcvt/Misc/Doc/Makefile.orig ++++ usr.sbin/pcvt/Misc/Doc/Makefile +@@ -4,6 +4,6 @@ NO_OBJ= + FILES= Acknowledgements Bibliography CharGen \ + Charsets EscapeSequences Keyboard.HP Keyboard.VT \ + NotesAndHints +-FILESDIR= ${BINDIR}/Doc ++FILESDIR= ${DOCDIR}/Doc + + .include <bsd.prog.mk> +Index: usr.sbin/pcvt/Misc/Makefile +=================================================================== +--- usr.sbin/pcvt/Misc/Makefile.orig ++++ usr.sbin/pcvt/Misc/Makefile +@@ -2,6 +2,7 @@ + + NO_OBJ= + FILES= README.FIRST ++FILESDIR= ${DOCDIR}/pcvt + SUBDIR= Doc Etc + + .include "Makefile.inc" |