summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2002-12-17 19:33:32 +0000
committerMike Frysinger <vapier@gentoo.org>2002-12-17 19:33:32 +0000
commit9a4096f812af3c61e38bd2c50067deb1a50e91b8 (patch)
tree1d523100b58b0f5fb18fc5339bf8066402ef4ab3 /dev-util/byacc
parentfixed header (changed dev-perlURIChangeLog/ to dev-perl/URI) (diff)
downloadgentoo-2-9a4096f812af3c61e38bd2c50067deb1a50e91b8.tar.gz
gentoo-2-9a4096f812af3c61e38bd2c50067deb1a50e91b8.tar.bz2
gentoo-2-9a4096f812af3c61e38bd2c50067deb1a50e91b8.zip
initial ebuild
Diffstat (limited to 'dev-util/byacc')
-rw-r--r--dev-util/byacc/ChangeLog8
-rw-r--r--dev-util/byacc/byacc-1.9.ebuild23
-rw-r--r--dev-util/byacc/files/digest-byacc-1.92
-rw-r--r--dev-util/byacc/files/mkstemp.patch24
4 files changed, 57 insertions, 0 deletions
diff --git a/dev-util/byacc/ChangeLog b/dev-util/byacc/ChangeLog
new file mode 100644
index 000000000000..6fa6152f93eb
--- /dev/null
+++ b/dev-util/byacc/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-util/byacc
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/byacc/ChangeLog,v 1.1 2002/12/17 19:33:32 vapier Exp $
+
+*byacc-1.9 (17 Dec 2002)
+
+ 17 Dec 2002; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me for pm3.
diff --git a/dev-util/byacc/byacc-1.9.ebuild b/dev-util/byacc/byacc-1.9.ebuild
new file mode 100644
index 000000000000..1cea1e07cdfd
--- /dev/null
+++ b/dev-util/byacc/byacc-1.9.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/byacc/byacc-1.9.ebuild,v 1.1 2002/12/17 19:33:32 vapier Exp $
+
+DESCRIPTION="the best variant of the Yacc parser generator"
+HOMEPAGE="http://dickey.his.com/byacc/byacc.html"
+SRC_URI="http://sources.isc.org/devel/tools/${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="x86"
+
+src_compile() {
+ patch -p0 < ${FILESDIR}/mkstemp.patch
+ make PROGRAM=byacc CFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ dobin byacc
+ mv yacc.1 byacc.1
+ doman byacc.1
+ dodoc ACKNOWLEDGEMENTS MANIFEST NEW_FEATURES NOTES README
+}
diff --git a/dev-util/byacc/files/digest-byacc-1.9 b/dev-util/byacc/files/digest-byacc-1.9
new file mode 100644
index 000000000000..6e7a0cbe3da2
--- /dev/null
+++ b/dev-util/byacc/files/digest-byacc-1.9
@@ -0,0 +1,2 @@
+MD5 7f6103d3f278f063bd75e492551ffec4 byacc-1.9.tar.gz 109892
+MD5 b1d86b464ad6238583324994b8fc15f4 byacc_1.9-13.1.diff.gz 4067
diff --git a/dev-util/byacc/files/mkstemp.patch b/dev-util/byacc/files/mkstemp.patch
new file mode 100644
index 000000000000..a4a30a342078
--- /dev/null
+++ b/dev-util/byacc/files/mkstemp.patch
@@ -0,0 +1,24 @@
+--- main.c.orig 2002-12-17 14:28:54.000000000 -0500
++++ main.c 2002-12-17 14:29:31.000000000 -0500
+@@ -57,7 +57,7 @@
+ short **derives;
+ char *nullable;
+
+-extern char *mktemp();
++extern char *mkstemp();
+ extern char *getenv();
+
+
+@@ -264,9 +264,9 @@
+ text_file_name[len + 5] = 't';
+ union_file_name[len + 5] = 'u';
+
+- mktemp(action_file_name);
+- mktemp(text_file_name);
+- mktemp(union_file_name);
++ mkstemp(action_file_name);
++ mkstemp(text_file_name);
++ mkstemp(union_file_name);
+
+ len = strlen(file_prefix);
+