# HG changeset patch
# User Pascal Bellard <pascal.bellard@slitaz.org>
# Date 1380289770 0
# Node ID a54f561b0931bf131081253e684f16f688096ae7
# Parent  acd27f3db454170357878b9ae0a77e725be114fe
hardinfo: add libm & libgmodule-2.0

diff -r acd27f3db454 -r a54f561b0931 hardinfo/receipt
--- a/hardinfo/receipt	Fri Sep 27 13:31:06 2013 +0000
+++ b/hardinfo/receipt	Fri Sep 27 13:49:30 2013 +0000
@@ -28,7 +28,7 @@
 	./configure \
 		--prefix=/usr \
 		$CONFIGURE_ARGS &&
-	make LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule-2.0" &&
+	sed -i 's/^GTK_LIBS.*/& -lgmodule-2.0 -lm/' Makefile && make &&
 	make DESTDIR=$DESTDIR install
 }