summaryrefslogtreecommitdiffstats
path: root/meta/packages/zile
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/zile')
-rw-r--r--meta/packages/zile/files/for_build.patch64
-rw-r--r--meta/packages/zile/zile_1.7+2.0beta6.bb19
2 files changed, 0 insertions, 83 deletions
diff --git a/meta/packages/zile/files/for_build.patch b/meta/packages/zile/files/for_build.patch
deleted file mode 100644
index 96380fa220..0000000000
--- a/meta/packages/zile/files/for_build.patch
+++ /dev/null
@@ -1,64 +0,0 @@
1Index: zile-2.0beta6/acinclude.m4
2===================================================================
3--- zile-2.0beta6.orig/acinclude.m4 2004-12-20 19:13:07.000000000 -0500
4+++ zile-2.0beta6/acinclude.m4 2005-01-21 20:38:28.982166344 -0500
5@@ -35,3 +35,29 @@
6 t}
7 fi
8 AC_SUBST(EXEEXT_FOR_BUILD)])dnl
9+
10+dnl Get a default for CFLAGS_FOR_BUILD to put into Makefile.
11+AC_DEFUN([BFD_CFLAGS_FOR_BUILD],
12+[ac_test_CFLAGS=${CFLAGS+set}
13+# Put a plausible default for CFLAGS_FOR_BUILD in Makefile.
14+if test -z "$CFLAGS_FOR_BUILD"; then
15+ if test "x$cross_compiling" = "xyes"; then
16+ CFLAGS_FOR_BUILD="-O2"
17+ else
18+ CFLAGS_FOR_BUILD='$(CFLAGS)'
19+ fi
20+fi
21+AC_SUBST(CFLAGS_FOR_BUILD)])dnl
22+
23+dnl Get a default for LDFLAGS_FOR_BUILD to put into Makefile.
24+AC_DEFUN([BFD_LDFLAGS_FOR_BUILD],
25+[ac_test_LDFLAGS=${LDFLAGS+set}
26+# Put a plausible default for LDFLAGS_FOR_BUILD in Makefile.
27+if test -z "$LDFLAGS_FOR_BUILD"; then
28+ if test "x$cross_compiling" = "xyes"; then
29+ LDFLAGS_FOR_BUILD=""
30+ else
31+ LDFLAGS_FOR_BUILD='$(LDFLAGS)'
32+ fi
33+fi
34+AC_SUBST(LDFLAGS_FOR_BUILD)])dnl
35Index: zile-2.0beta6/configure.ac
36===================================================================
37--- zile-2.0beta6.orig/configure.ac 2005-01-12 07:56:19.000000000 -0500
38+++ zile-2.0beta6/configure.ac 2005-01-21 20:26:58.178184512 -0500
39@@ -19,6 +19,8 @@
40
41 AC_PROG_CC
42 BFD_CC_FOR_BUILD
43+BFD_CFLAGS_FOR_BUILD
44+BFD_LDFLAGS_FOR_BUILD
45 AC_C_INLINE
46 AC_PROG_INSTALL
47 AC_PROG_RANLIB
48Index: zile-2.0beta6/doc/Makefile.am
49===================================================================
50--- zile-2.0beta6.orig/doc/Makefile.am 2005-01-03 06:11:32.000000000 -0500
51+++ zile-2.0beta6/doc/Makefile.am 2005-01-21 20:27:17.271281920 -0500
52@@ -27,10 +27,10 @@
53 AM_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/src
54
55 mkdoc$(EXEEXT_FOR_BUILD): mkdoc.o config.h
56- $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ mkdoc.o
57+ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ mkdoc.o
58
59 mkdoc.o: mkdoc.c
60- $(CC_FOR_BUILD) -c -I$(top_srcdir)/doc -I$(top_srcdir) -I$(top_srcdir)/src $(CFLAGS) $(srcdir)/mkdoc.c
61+ $(CC_FOR_BUILD) -c -I$(top_srcdir)/doc -I$(top_srcdir) -I$(top_srcdir)/src $(CFLAGS_FOR_BUILD) $(srcdir)/mkdoc.c
62
63 AUTODOC: $(AUTODOCSRCS) mkdoc
64 ./mkdoc $(AUTODOCSRCS) >AUTODOC
diff --git a/meta/packages/zile/zile_1.7+2.0beta6.bb b/meta/packages/zile/zile_1.7+2.0beta6.bb
deleted file mode 100644
index 74d832eef3..0000000000
--- a/meta/packages/zile/zile_1.7+2.0beta6.bb
+++ /dev/null
@@ -1,19 +0,0 @@
1DESCRIPTION = "Zile is a very small emacs-like editor."
2HOMEPAGE = "http://zile.sourceforge.net/"
3LICENSE = "GPL"
4DEPENDS = "ncurses"
5PRIORITY = "optional"
6SECTION = "console/editors"
7PR = "r1"
8
9UV = "${@bb.data.getVar('PV', d, 1).split('+')[1]}"
10
11SRC_URI = "${SOURCEFORGE_MIRROR}/zile/zile-${UV}.tar.gz \
12 file://for_build.patch;patch=1"
13S = "${WORKDIR}/zile-${UV}"
14
15inherit autotools
16
17export CC_FOR_BUILD = "${BUILD_CC}"
18export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS} -DHAVE_VASPRINTF"
19export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}"