From c9215ae2ed3059b44cabc86362dbe9633e8d65b3 Mon Sep 17 00:00:00 2001 From: Brian Feldman Date: Tue, 11 Jan 2000 12:37:57 +0000 Subject: [PATCH] *draws his sword* I smite thee, vile buildworld breakage! The story is that these were added to beforeinstall improperly. In our beforeinstall, a full mtree has not been populated. Since the tree is not populated, we explode from missing directories on doc install. It should not be done in beforeinstall (includes) anyway. --- gnu/lib/libdialog/Makefile | 2 ++ lib/libncurses/Makefile | 1 + lib/ncurses/ncurses/Makefile | 1 + 3 files changed, 4 insertions(+) diff --git a/gnu/lib/libdialog/Makefile b/gnu/lib/libdialog/Makefile index 3b6342f2a844..858b59d54c69 100644 --- a/gnu/lib/libdialog/Makefile +++ b/gnu/lib/libdialog/Makefile @@ -23,6 +23,8 @@ DPADD+= ${LIBNCURSES} ${LIBMYTINFO} beforeinstall: ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/dialog.h \ ${DESTDIR}/usr/include + +afterinstall: .for file in ${EXAMPLES} ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \ ${.CURDIR}/TESTS/${file} ${DESTDIR}/usr/share/examples/libdialog diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile index 753d76691c72..e3d5f6c37e81 100644 --- a/lib/libncurses/Makefile +++ b/lib/libncurses/Makefile @@ -253,6 +253,7 @@ beforeinstall: ${HEADERS} rm -f ${DESTDIR}/usr/include/ncurses.h ln -s curses.h ${DESTDIR}/usr/include/ncurses.h +afterinstall: .for file in ${DOCS} cd ${.CURDIR}/../../contrib/ncurses/misc ; \ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \ diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile index 753d76691c72..e3d5f6c37e81 100644 --- a/lib/ncurses/ncurses/Makefile +++ b/lib/ncurses/ncurses/Makefile @@ -253,6 +253,7 @@ beforeinstall: ${HEADERS} rm -f ${DESTDIR}/usr/include/ncurses.h ln -s curses.h ${DESTDIR}/usr/include/ncurses.h +afterinstall: .for file in ${DOCS} cd ${.CURDIR}/../../contrib/ncurses/misc ; \ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \