pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/bmake Actually import the bmake src into files, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fb9b49aae61b
branches:  trunk
changeset: 503934:fb9b49aae61b
user:      sjg <sjg%pkgsrc.org@localhost>
date:      Fri Dec 02 00:14:56 2005 +0000

description:
Actually import the bmake src into files, and apply pkgsrc patches.
Also provide an import script to help keep imports consistent.

diffstat:

 devel/bmake/distinfo         |   4 +---
 devel/bmake/files/var.c      |  15 ++++++++++++---
 devel/bmake/import-bmake-sh  |  23 +++++++++++++++++++++++
 devel/bmake/patches/patch-aa |  21 ---------------------
 4 files changed, 36 insertions(+), 27 deletions(-)

diffs (107 lines):

diff -r c736e2f85016 -r fb9b49aae61b devel/bmake/distinfo
--- a/devel/bmake/distinfo      Fri Dec 02 00:02:59 2005 +0000
+++ b/devel/bmake/distinfo      Fri Dec 02 00:14:56 2005 +0000
@@ -1,7 +1,5 @@
-$NetBSD: distinfo,v 1.21 2005/11/01 00:07:20 reed Exp $
+$NetBSD: distinfo,v 1.22 2005/12/02 00:14:56 sjg Exp $
 
 SHA1 (bmake-20050901.tar.gz) = 167e9d637030d4125907b943a3e08d7976018e4f
 RMD160 (bmake-20050901.tar.gz) = e77305eead0fec601c0436158d4dc81a8fd7dd0e
 Size (bmake-20050901.tar.gz) = 343100 bytes
-SHA1 (patch-aa) = 32df79c50ee516f3ec7c006f5c38fad11b909a82
-SHA1 (patch-ab) = 47c40c6af0746d61ea567b55ebd4e0298051663c
diff -r c736e2f85016 -r fb9b49aae61b devel/bmake/files/var.c
--- a/devel/bmake/files/var.c   Fri Dec 02 00:02:59 2005 +0000
+++ b/devel/bmake/files/var.c   Fri Dec 02 00:14:56 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: var.c,v 1.1.1.1 2005/12/02 00:03:00 sjg Exp $  */
+/*     $NetBSD: var.c,v 1.2 2005/12/02 00:14:56 sjg Exp $      */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -69,14 +69,14 @@
  */
 
 #ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: var.c,v 1.1.1.1 2005/12/02 00:03:00 sjg Exp $";
+static char rcsid[] = "$NetBSD: var.c,v 1.2 2005/12/02 00:14:56 sjg Exp $";
 #else
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static char sccsid[] = "@(#)var.c      8.3 (Berkeley) 3/19/94";
 #else
-__RCSID("$NetBSD: var.c,v 1.1.1.1 2005/12/02 00:03:00 sjg Exp $");
+__RCSID("$NetBSD: var.c,v 1.2 2005/12/02 00:14:56 sjg Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -125,7 +125,16 @@
 
 #ifndef NO_REGEX
 #include    <sys/types.h>
+#include    <nbcompat/nbconfig.h>
+/* bmake supplies its own <sys/cdefs.h> so this header is always present. */
+#ifndef HAVE_SYS_CDEFS_H
+#define HAVE_SYS_CDEFS_H 1
+#endif
+#if HAVE_REGEX_H
 #include    <regex.h>
+#else
+#include    <nbcompat/regex.h>
+#endif
 #endif
 #include    <ctype.h>
 #include    <stdlib.h>
diff -r c736e2f85016 -r fb9b49aae61b devel/bmake/import-bmake-sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/bmake/import-bmake-sh       Fri Dec 02 00:14:56 2005 +0000
@@ -0,0 +1,23 @@
+:
+# $Id: import-bmake-sh,v 1.1 2005/12/02 00:14:56 sjg Exp $
+
+# Nice and simple, but make sure it is done consistently...
+# Simply unpack bmake-<version>.tar.gz 
+# cd bmake
+# then run this script.
+
+[ -s make-conf.h -a ! -d CVS ] || {
+    echo "Must be in top level dir of bmake distribution" >&2
+    exit 1
+}
+
+# what version are we importing
+eval `sed -n "/^[A-Z]*AKE_VER/s/^\([A-Z][A-Z_]*\)[ :=][ :=]*\([^ ][^ ]*\).*/\1='\2'/p" Makefile.in`
+version=`eval echo $MAKE_VERSION`
+version_tag=`echo $version | tr '.' '-'`
+
+CVSROOT=cvs.netbsd.org:/cvsroot
+set -x
+$ECHO ${CVS:-cvs} -d $CVSROOT import -m "Import $version" \
+       pkgsrc/devel/bmake/files BMAKE $version_tag
+
diff -r c736e2f85016 -r fb9b49aae61b devel/bmake/patches/patch-aa
--- a/devel/bmake/patches/patch-aa      Fri Dec 02 00:02:59 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-$NetBSD: patch-aa,v 1.4 2005/10/31 21:34:24 reed Exp $
-
---- bmake/var.c        2005-09-03 15:15:09.000000000 -0700
-+++ var.c      2005-09-16 16:48:52.000000000 -0700
-@@ -125,7 +125,16 @@
- 
- #ifndef NO_REGEX
- #include    <sys/types.h>
-+#include    <nbcompat/nbconfig.h>
-+/* bmake supplies its own <sys/cdefs.h> so this header is always present. */
-+#ifndef HAVE_SYS_CDEFS_H
-+#define HAVE_SYS_CDEFS_H 1
-+#endif
-+#if HAVE_REGEX_H
- #include    <regex.h>
-+#else
-+#include    <nbcompat/regex.h>
-+#endif
- #endif
- #include    <ctype.h>
- #include    <stdlib.h>



Home | Main Index | Thread Index | Old Index