diff options
author | Michael Lauer <mickey@vanille-media.de> | 2008-06-07 18:54:09 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2008-06-07 18:54:09 +0000 |
commit | 981c8b2b3fb9eb3109103a19d208c55b7f7d4c2a (patch) | |
tree | a43010311b5d23da320609f3b55d02806f64f487 /packages/setserial | |
parent | e70e6eec84b5ada3283b5489325a676f9c5a7f05 (diff) |
setserial 2.17 add ldflags. closes #1545
Diffstat (limited to 'packages/setserial')
-rw-r--r-- | packages/setserial/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/setserial/files/addflags.patch | 21 | ||||
-rw-r--r-- | packages/setserial/setserial_2.17.bb | 12 |
3 files changed, 29 insertions, 4 deletions
diff --git a/packages/setserial/files/.mtn2git_empty b/packages/setserial/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/setserial/files/.mtn2git_empty 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} |