summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-03-28 05:48:42 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-03-28 05:48:42 +0000
commit1499420452466471872e3c40cbee9966c08e2df1 (patch)
tree35a78087990d2e59e6bf4cb1eed411231b664ad4
parentAdd _host_rpmprefix. (diff)
downloadrtems-1499420452466471872e3c40cbee9966c08e2df1.tar.bz2
Run cygwins libncurses-devel.sh.
-rw-r--r--contrib/crossrpms/cygwin/i686/ncurses.add6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/crossrpms/cygwin/i686/ncurses.add b/contrib/crossrpms/cygwin/i686/ncurses.add
index e6eca5a384..4783322354 100644
--- a/contrib/crossrpms/cygwin/i686/ncurses.add
+++ b/contrib/crossrpms/cygwin/i686/ncurses.add
@@ -39,3 +39,9 @@ Cygwin ncurses libraries.
mkdir -p $RPM_BUILD_ROOT%{_prefix}
cp -a @tool_target@ $RPM_BUILD_ROOT%{_prefix}
+ sed \
+ -e "s,^prefix=.*$,prefix=$RPM_BUILD_ROOT%{_prefix}/@tool_target@/sys-root/usr," \
+ < @tool_target@/sys-root/etc/postinstall/libncurses-devel.sh \
+ > postinst.sh
+
+ /bin/sh -x ./postinst.sh