Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: jacmet at uclibc.org <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/ncurses
Date: Tue,  1 Jul 2008 12:24:37 -0700 (PDT)	[thread overview]
Message-ID: <20080701192437.353BD3C650@busybox.net> (raw)

Author: jacmet
Date: 2008-07-01 12:24:36 -0700 (Tue, 01 Jul 2008)
New Revision: 22597

Log:
ncurses: don't follow symlink on ln invocation

The ln -sf command would fail if $TARGET_DIR/usr/lib/terminfo already exists
as we don't have write permissions to the symlink target. Fixed by adding
-n option (don't dereference link).

Modified:
   trunk/buildroot/package/ncurses/ncurses.mk


Changeset:
Modified: trunk/buildroot/package/ncurses/ncurses.mk
===================================================================
--- trunk/buildroot/package/ncurses/ncurses.mk	2008-07-01 19:09:50 UTC (rev 22596)
+++ trunk/buildroot/package/ncurses/ncurses.mk	2008-07-01 19:24:36 UTC (rev 22597)
@@ -113,7 +113,7 @@
 ifeq ($(strip $(BR2_PACKAGE_NCURSES_TARGET_MENU)),y)
 	cp -dpf $(NCURSES_DIR)/lib/libmenu.so* $(TARGET_DIR)/usr/lib/
 endif
-	ln -sf /usr/share/terminfo $(TARGET_DIR)/usr/lib/terminfo
+	ln -snf /usr/share/terminfo $(TARGET_DIR)/usr/lib/terminfo
 	mkdir -p $(TARGET_DIR)/usr/share/terminfo/x
 	cp -dpf $(STAGING_DIR)/usr/share/terminfo/x/xterm $(TARGET_DIR)/usr/share/terminfo/x
 	cp -dpf $(STAGING_DIR)/usr/share/terminfo/x/xterm-color $(TARGET_DIR)/usr/share/terminfo/x

             reply	other threads:[~2008-07-01 19:24 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-01 19:24 jacmet at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-03-01 22:35 [Buildroot] svn commit: trunk/buildroot/package/ncurses jacmet at uclibc.org
2009-01-23 23:02 ulf at uclibc.org
2009-01-24  6:33 ` Peter Korsgaard
2009-01-25 10:07   ` Thomas Lundquist
2009-01-25 20:56     ` Peter Korsgaard
2009-01-22 22:58 ulf at uclibc.org
2009-01-12  7:44 ulf at uclibc.org
2009-01-11 13:33 thomasez at uclibc.org
2008-04-10  8:17 nkukard at uclibc.org
2008-04-10  5:14 nkukard at uclibc.org
2008-04-09 11:38 nkukard at uclibc.org
2008-04-09 22:35 ` Hamish Moffatt
2008-04-10  5:14   ` Nigel Kukard
2008-04-10  7:06     ` Peter Korsgaard
2008-04-10  9:10       ` Hamish Moffatt
2008-03-31 14:44 jacmet at uclibc.org
2008-03-07 13:57 ninevoltz at uclibc.org
2008-03-07 14:03 ` Peter Korsgaard
2008-03-06 18:19 ninevoltz at uclibc.org
2008-03-07 13:30 ` Peter Korsgaard
2007-07-23  8:33 ulf at uclibc.org
2007-06-25 16:56 aldot at uclibc.org
2007-06-25 16:35 aldot at uclibc.org
2007-06-25 15:38 aldot at uclibc.org
2007-06-23 13:56 aldot at uclibc.org
2007-03-07 14:46 aldot at uclibc.org
2007-01-30 17:47 aldot at uclibc.org
2007-01-22 23:52 andersen at uclibc.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080701192437.353BD3C650@busybox.net \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox