From 981c8b2b3fb9eb3109103a19d208c55b7f7d4c2a Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Sat, 7 Jun 2008 18:54:09 +0000 Subject: setserial 2.17 add ldflags. closes #1545 --- packages/setserial/files/.mtn2git_empty | 0 packages/setserial/files/addflags.patch | 21 +++++++++++++++++++++ packages/setserial/setserial_2.17.bb | 12 ++++++++---- 3 files changed, 29 insertions(+), 4 deletions(-) create mode 100644 packages/setserial/files/.mtn2git_empty create mode 100644 packages/setserial/files/addflags.patch diff --git a/packages/setserial/files/.mtn2git_empty b/packages/setserial/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/setserial/files/addflags.patch b/packages/setserial/files/addflags.patch new file mode 100644 index 0000000000..d4f4c91190 --- /dev/null +++ b/packages/setserial/files/addflags.patch @@ -0,0 +1,21 @@ +Index: setserial-2.17/Makefile.in +=================================================================== +--- setserial-2.17.orig/Makefile.in ++++ setserial-2.17/Makefile.in +@@ -13,6 +13,7 @@ STRIP = @STRIP@ + CC = @CC@ + RM = rm -f + CFLAGS = @CFLAGS@ ++LDFLAGS = @LDFLAGS@ + DEFS = @DEFS@ + INCS = -I. + TAR = tar +@@ -20,7 +21,7 @@ TAR = tar + all: setserial setserial.cat + + setserial: setserial.c +- $(CC) $(CFLAGS) $(DEFS) $(INCS) setserial.c -o setserial ++ $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) $(INCS) setserial.c -o setserial + + setserial.cat: setserial.8 + nroff -man setserial.8 > setserial.cat diff --git a/packages/setserial/setserial_2.17.bb b/packages/setserial/setserial_2.17.bb index 6b73eed0cf..0255a9f2b0 100644 --- a/packages/setserial/setserial_2.17.bb +++ b/packages/setserial/setserial_2.17.bb @@ -1,13 +1,17 @@ -DESCRIPTION = "setserial is a program designed to set and/or report the configuration information associated with a serial port" +DESCRIPTION = "setserial is a program designed to set and/or \ +report the configuration information associated with a serial port" HOMEPAGE = "http://setserial.sourceforge.net" -AUTHOR = "Theodore Ts'o tytso@mit.edu" +AUTHOR = "Theodore Ts'o >tytso@mit.edu>" SECTION = "console/utils" LICENSE = "GPL" -PR = "r2" +PR = "r3" inherit autotools -SRC_URI = "${SOURCEFORGE_MIRROR}/setserial/${PN}-${PV}.tar.gz" +SRC_URI = "\ + ${SOURCEFORGE_MIRROR}/setserial/${PN}-${PV}.tar.gz \ + file://addflags.patch;patch=1 \ +" do_install() { install -d ${D}${bindir} -- cgit v1.2.3