From b2f7c2b1913a69abc4061744e31f64d766c208fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Thu, 19 May 2011 12:09:18 +0200
Subject: [PATCH] Force link creation in order to not die in case of its
 existence.

---
 slapos/profile/ncurses.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slapos/profile/ncurses.cfg b/slapos/profile/ncurses.cfg
index c466010a6c..f8d2125b76 100644
--- a/slapos/profile/ncurses.cfg
+++ b/slapos/profile/ncurses.cfg
@@ -14,6 +14,6 @@ configure-options =
   --enable-rpath
 # tricky way to rerun with --enable-widec
 make-targets =
-  install && (for i in curses unctrl eti form menu panel term; do ln -s ncurses/$i.h ${buildout:parts-directory}/${:_buildout_section_name_}/include/$i.h; done) && ./configure ${:configure-options} --enable-widec && make install
+  install && (for i in curses unctrl eti form menu panel term; do ln -sf ncurses/$i.h ${buildout:parts-directory}/${:_buildout_section_name_}/include/$i.h; done) && ./configure ${:configure-options} --enable-widec && make install
 environment =
   LDFLAGS =-Wl,--as-needed
-- 
2.30.9