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/sdl
Date: Mon, 17 Mar 2008 09:39:03 -0700 (PDT)	[thread overview]
Message-ID: <20080317163904.07D8312C82C@busybox.net> (raw)

Author: jacmet
Date: 2008-03-17 09:39:03 -0700 (Mon, 17 Mar 2008)
New Revision: 21369

Log:
sdl: Fix include files install.

Patch sdl-config rpath setting rather than setting exec-prefix and
using DESTDIR as the SDL makefile uses prefix for some files,
and exec-prefix for others leading to double $(STAGING_DIR) prefix.


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


Changeset:
Modified: trunk/buildroot/package/sdl/sdl.mk
===================================================================
--- trunk/buildroot/package/sdl/sdl.mk	2008-03-17 15:28:07 UTC (rev 21368)
+++ trunk/buildroot/package/sdl/sdl.mk	2008-03-17 16:39:03 UTC (rev 21369)
@@ -56,7 +56,6 @@
 		--host=$(GNU_TARGET_NAME) \
 		--build=$(GNU_HOST_NAME) \
 		--prefix=$(STAGING_DIR)/usr \
-		--exec-prefix=/usr \
 		--sysconfdir=/etc \
 		--localstatedir=/var \
 		--enable-pulseaudio=no \
@@ -83,9 +82,9 @@
 	touch $@
 
 $(STAGING_DIR)/usr/lib/libSDL.so: $(SDL_DIR)/.compiled
-	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(SDL_DIR) install
-# sdl-config uses -Lexec_prefix/lib instead of -Lprefix/lib - fix it
-	$(SED) 's^-L\$${exec_prefix}^-L\$${prefix}^' \
+	$(MAKE) -C $(SDL_DIR) install
+# use correct rpath for linking
+	$(SED) 's^libdir=\$${exec_prefix}^libdir=/usr^' \
 		$(STAGING_DIR)/usr/bin/sdl-config
 	touch -c $@
 

             reply	other threads:[~2008-03-17 16:39 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-17 16:39 jacmet at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-01-22  7:51 [Buildroot] svn commit: trunk/buildroot/package/sdl ulf at uclibc.org
2009-01-11 20:24 ulf at uclibc.org
2008-03-07 13:31 jacmet at uclibc.org
2008-03-14  1:05 ` Hebbar
2008-03-17 16:47   ` Peter Korsgaard
2008-03-14  2:40 ` Hebbar
2008-03-07 13:31 jacmet at uclibc.org
2008-03-07 13:31 jacmet at uclibc.org
2008-03-07 13:31 jacmet at uclibc.org
2007-11-16 15:35 vanokuten at uclibc.org
2007-11-16 12:37 vanokuten at uclibc.org
2007-09-23  9:53 ulf at uclibc.org
2007-08-12 23:31 ulf at uclibc.org
2007-08-11 22:09 ulf at uclibc.org
2007-08-11 21:47 ulf at uclibc.org
2007-08-11 22:46 ` Ivan Kuten
2007-07-25 17:39 ulf at uclibc.org
2007-07-25 22:39 ` Bernhard Fischer
2007-07-25 23:47   ` Ulf Samuelsson
2007-07-26  1:06     ` Rex Ashbaugh
2007-07-26  6:55       ` Ulf Samuelsson
2007-06-25 11:12 aldot at uclibc.org
2006-11-30  9:06 aldot 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=20080317163904.07D8312C82C@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