All of lore.kernel.org
 help / color / mirror / Atom feed
From: ulf at uclibc.org <ulf@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/libdaemon
Date: Mon, 20 Aug 2007 18:32:37 -0700 (PDT)	[thread overview]
Message-ID: <20070821013237.256CCA470E@busybox.net> (raw)

Author: ulf
Date: 2007-08-20 18:32:37 -0700 (Mon, 20 Aug 2007)
New Revision: 19595

Log:
Fix configure problem with libdaemon, by patching result from autotools

Added:
   trunk/buildroot/package/libdaemon/libdaemon-0.10.patch.bz2

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


Changeset:
Added: trunk/buildroot/package/libdaemon/libdaemon-0.10.patch.bz2
===================================================================
(Binary files differ)


Property changes on: trunk/buildroot/package/libdaemon/libdaemon-0.10.patch.bz2
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: trunk/buildroot/package/libdaemon/libdaemon.mk
===================================================================
--- trunk/buildroot/package/libdaemon/libdaemon.mk	2007-08-21 01:28:12 UTC (rev 19594)
+++ trunk/buildroot/package/libdaemon/libdaemon.mk	2007-08-21 01:32:37 UTC (rev 19595)
@@ -12,9 +12,10 @@
 # later version.
 
 LIBDAEMON_VERSION:=0.10
-LIBDAEMON_DIR:=$(BUILD_DIR)/libdaemon-$(LIBDAEMON_VERSION)
+LIBDAEMON_NAME:=libdaemon-$(LIBDAEMON_VERSION)
+LIBDAEMON_DIR:=$(BUILD_DIR)/$(LIBDAEMON_NAME)
 LIBDAEMON_SITE:=http://0pointer.de/lennart/projects/libdaemon/
-LIBDAEMON_SOURCE:=libdaemon-$(LIBDAEMON_VERSION).tar.gz
+LIBDAEMON_SOURCE:=$(LIBDAEMON_NAME).tar.gz
 LIBDAEMON_CAT:=$(ZCAT)
 
 $(DL_DIR)/$(LIBDAEMON_SOURCE):
@@ -25,6 +26,10 @@
 $(LIBDAEMON_DIR)/.unpacked: $(DL_DIR)/$(LIBDAEMON_SOURCE)
 	$(LIBDAEMON_CAT) $(DL_DIR)/$(LIBDAEMON_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
 	toolchain/patch-kernel.sh $(LIBDAEMON_DIR) package/libdaemon/ \*.patch
+	mkdir	-p $(PROJECT_BUILD_DIR)/patches
+	bzcat package/libdaemon/$(LIBDAEMON_NAME).patch.bz2 \
+		> $(PROJECT_BUILD_DIR)/patches/$(LIBDAEMON_NAME).patch
+	toolchain/patch-kernel.sh $(LIBDAEMON_DIR) $(PROJECT_BUILD_DIR)/patches/ $(LIBDAEMON_NAME)\*.patch
 	$(CONFIG_UPDATE) $(LIBDAEMON_DIR)
 	touch $(LIBDAEMON_DIR)/.unpacked
 
@@ -57,7 +62,7 @@
 	touch $(LIBDAEMON_DIR)/.configured
 
 $(LIBDAEMON_DIR)/.compiled: $(LIBDAEMON_DIR)/.configured
-	$(MAKE) -C $(LIBDAEMON_DIR)
+	$(MAKE) LIBTOOL=$(LIBDAEMON_DIR)/libtool -C $(LIBDAEMON_DIR)
 	touch $(LIBDAEMON_DIR)/.compiled
 
 $(STAGING_DIR)/lib/libdaemon.a: $(LIBDAEMON_DIR)/.compiled
@@ -65,15 +70,25 @@
 	touch -c $(STAGING_DIR)/lib/libdaemon.a
 
 #$(TARGET_DIR)/usr/lib/libdaemon.a: $(STAGING_DIR)/lib/libdaemon.a
-#	-$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/libdaemon.a
+#	-$(STRIP) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libdaemon.a
 
 libdaemon: uclibc pkgconfig $(STAGING_DIR)/lib/libdaemon.a
 
+libdaemon-unpacked: $(LIBDAEMON_DIR)/.unpacked
+
 libdaemon-clean:
 	-$(MAKE) -C $(LIBDAEMON_DIR) clean
 
+libdaemon-patch-prep: libdaemon-dirclean libdaemon-unpacked
+	cp -af $(LIBDAEMON_DIR) $(LIBDAEMON_DIR)-0rig
+
+libdaemon-patch: 
+	(cd $(BUILD_DIR); \
+	diff -urN $(LIBDAEMON_NAME)-0rig $(LIBDAEMON_NAME) > ../../$(LIBDAEMON_NAME)-$(DATE).patch || echo)
+
 libdaemon-dirclean:
 	rm -rf $(LIBDAEMON_DIR)
+	rm -rf $(LIBDAEMON_DIR)-0rig
 
 #############################################################
 #

             reply	other threads:[~2007-08-21  1:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-21  1:32 ulf at uclibc.org [this message]
2007-08-21  8:23 ` [Buildroot] svn commit: trunk/buildroot/package/libdaemon Bernhard Fischer
2007-08-21 14:15   ` Ulf Samuelsson
  -- strict thread matches above, loose matches on Subject: below --
2008-08-27  7:29 jacmet at uclibc.org
2008-08-27  7:29 jacmet at uclibc.org
2008-07-04  9:48 ulf at uclibc.org
2008-04-24 13:16 ninevoltz at uclibc.org
2007-11-28  8:55 ulf at uclibc.org
2007-09-20 15:35 ulf at uclibc.org
2007-09-03  9:00 jacmet at uclibc.org
2007-09-03  8:56 jacmet at uclibc.org
2007-09-03  8:54 ` Ulf Samuelsson
2007-08-21 14:27 ulf at uclibc.org
2007-07-17 12:06 ulf at uclibc.org
2007-01-22 18:15 andersen at uclibc.org
2006-12-13 13:09 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=20070821013237.256CCA470E@busybox.net \
    --to=ulf@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.