summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-freebsd/freebsd-ubin/files/freebsd-ubin-fixmakefiles.patch')
-rw-r--r--sys-freebsd/freebsd-ubin/files/freebsd-ubin-fixmakefiles.patch87
1 files changed, 87 insertions, 0 deletions
diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-fixmakefiles.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-fixmakefiles.patch
new file mode 100644
index 000000000000..7b0cb346917b
--- /dev/null
+++ b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-fixmakefiles.patch
@@ -0,0 +1,87 @@
+diff -ur usr.bin.orig/calendar/Makefile usr.bin/calendar/Makefile
+--- usr.bin.orig/calendar/Makefile Thu Apr 7 20:52:57 2005
++++ usr.bin/calendar/Makefile Thu Apr 7 20:56:53 2005
+@@ -10,6 +10,7 @@
+ TEXTMODE?= 444
+
+ beforeinstall:
++ ${INSTALL} -d ${DESTDIR}${SHAREDIR}/calendar
+ ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \
+ ${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar
+ .for lang in ${INTER}
+Only in usr.bin/calendar: Makefile.orig
+diff -ur usr.bin.orig/ee/Makefile usr.bin/ee/Makefile
+--- usr.bin.orig/ee/Makefile Thu Apr 7 20:52:57 2005
++++ usr.bin/ee/Makefile Thu Apr 7 20:57:14 2005
+@@ -12,12 +12,12 @@
+ NLS= en_US.US-ASCII fr_FR.ISO8859-1 de_DE.ISO8859-1 pl_PL.ISO8859-2 \
+ uk_UA.KOI8-U ru_RU.KOI8-R
+
+-NLSLINKS_en_US.US-ASCII= en_US.ISO8859-1 en_US.ISO8859-15
+-NLSLINKS_fr_FR.ISO8859-1= fr_BE.ISO8859-1 fr_BE.ISO8859-15 \
+- fr_CA.ISO8859-1 fr_CA.ISO8859-15 fr_CH.ISO8859-1 fr_CH.ISO8859-15 \
+- fr_FR.ISO8859-15
+-NLSLINKS_de_DE.ISO8859-1= de_AT.ISO8859-1 de_AT.ISO8859-15 de_CH.ISO8859-1 \
+- de_CH.ISO8859-15 de_DE.ISO8859-15
++#NLSLINKS_en_US.US-ASCII= en_US.ISO8859-1 en_US.ISO8859-15
++#NLSLINKS_fr_FR.ISO8859-1= fr_BE.ISO8859-1 fr_BE.ISO8859-15 \
++# fr_CA.ISO8859-1 fr_CA.ISO8859-15 fr_CH.ISO8859-1 fr_CH.ISO8859-15 \
++# fr_FR.ISO8859-15
++#NLSLINKS_de_DE.ISO8859-1= de_AT.ISO8859-1 de_AT.ISO8859-15 de_CH.ISO8859-1 \
++# de_CH.ISO8859-15 de_DE.ISO8859-15
+
+ NLSSRCFILES=ee.msg
+ .for lang in ${NLS}
+Only in usr.bin/ee: Makefile.orig
+diff -ur usr.bin.orig/kdump/Makefile usr.bin/kdump/Makefile
+--- usr.bin.orig/kdump/Makefile Thu Apr 7 20:52:57 2005
++++ usr.bin/kdump/Makefile Thu Apr 7 20:57:20 2005
+@@ -5,7 +5,7 @@
+
+ PROG= kdump
+ SRCS= kdump.c ioctl.c subr.c
+-CFLAGS+= -I${.CURDIR}/../ktrace -I${.CURDIR}/../..
++CFLAGS+= -I${.CURDIR}/../ktrace -I/usr/src
+
+ CLEANFILES= ioctl.c
+
+Only in usr.bin/kdump: Makefile.orig
+diff -ur usr.bin.orig/truss/Makefile usr.bin/truss/Makefile
+--- usr.bin.orig/truss/Makefile Thu Apr 7 20:52:59 2005
++++ usr.bin/truss/Makefile Thu Apr 7 20:57:29 2005
+@@ -14,18 +14,18 @@
+
+ .SUFFIXES: .master
+
+-i386l-syscalls.master: ${.CURDIR}/../../sys/i386/linux/syscalls.master
++i386l-syscalls.master: /usr/src/sys/i386/linux/syscalls.master
+ cat ${.ALLSRC} > i386l-syscalls.master
+
+ linux_syscalls.h: i386l-syscalls.master
+- /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh i386l-syscalls.master \
++ /bin/sh /usr/src/sys/kern/makesyscalls.sh i386l-syscalls.master \
+ ${.CURDIR}/i386linux.conf
+
+-syscalls.master: ${.CURDIR}/../../sys/kern/syscalls.master
++syscalls.master: /usr/src/sys/kern/syscalls.master
+ cat ${.ALLSRC} > syscalls.master
+
+ syscalls.h: syscalls.master
+- /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh syscalls.master \
++ /bin/sh /usr/src/sys/kern/makesyscalls.sh syscalls.master \
+ ${.CURDIR}/i386.conf
+
+ ioctl.c: ${.CURDIR}/../kdump/mkioctls
+Only in usr.bin/truss: Makefile.orig
+diff -ur usr.bin.orig/vi/Makefile usr.bin/vi/Makefile
+--- usr.bin.orig/vi/Makefile Thu Apr 7 20:52:59 2005
++++ usr.bin/vi/Makefile Thu Apr 7 20:57:37 2005
+@@ -74,6 +74,7 @@
+ SRCS+= vs_line.c vs_msg.c vs_refresh.c vs_relative.c vs_smap.c vs_split.c
+
+ afterinstall:
++ ${INSTALL} -d ${DESTDIR}/usr/share/vi/catalog
+ ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
+ ${CATALOGS:S;^;${SRCDIR}/catalog/;} \
+ ${DESTDIR}/usr/share/vi/catalog
+Only in usr.bin/vi: Makefile.orig