at: fix GNU hash QA error (force LDFLAGS)
authorVladimir Sorokin <sorokin@altell.ru>
Fri, 16 Apr 2010 13:55:49 +0000 (17:55 +0400)
committerRoman I Khimov <khimov@altell.ru>
Wed, 9 Jun 2010 19:50:55 +0000 (23:50 +0400)
Signed-off-by: Vladimir Sorokin <sorokin@altell.ru>
recipes/at/at-3.1.8/use-ldflags.patch [new file with mode: 0644]
recipes/at/at_3.1.8.bb

diff --git a/recipes/at/at-3.1.8/use-ldflags.patch b/recipes/at/at-3.1.8/use-ldflags.patch
new file mode 100644 (file)
index 0000000..57e411d
--- /dev/null
@@ -0,0 +1,18 @@
+--- a/Makefile.in      2010-04-16 17:35:22.000000000 +0400
++++ b/Makefile.in      2010-04-16 17:36:37.000000000 +0400
+@@ -70,13 +70,13 @@ LIST = Filelist Filelist.asc
+ all: at atd atrun
+ at: $(ATOBJECTS)
+-      $(CC) $(CFLAGS) -o at $(ATOBJECTS) $(LIBS) $(LEXLIB)
++      $(CC) $(CFLAGS) -o at $(ATOBJECTS) $(LIBS) $(LEXLIB) $(LDFLAGS)
+       rm -f $(CLONES)
+       $(LN_S) -f at atq
+       $(LN_S) -f at atrm
+ atd: $(RUNOBJECTS)
+-      $(CC) $(CFLAGS) -o atd $(RUNOBJECTS) $(LIBS)
++      $(CC) $(CFLAGS) -o atd $(RUNOBJECTS) $(LIBS) $(LDFLAGS)
+ y.tab.c y.tab.h: parsetime.y
+       $(YACC) -d parsetime.y
index e6aaba4..79b8557 100644 (file)
@@ -1,15 +1,16 @@
 DESCRIPTION = "Delayed job execution and batch processing."
 SECTION = "base"
 LICENSE="BSD"
-DEPENDS = "flex"
+DEPENDS = "flex-native"
 RCONFLICTS = "atd"
 RREPLACES = "atd"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}-11.tar.gz \
           file://configure.patch \
-          file://nonrootinstall.patch"
+          file://nonrootinstall.patch \
+          file://use-ldflags.patch"
 
 inherit autotools