Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Mar 2006 01:39:57 GMT
From:      NAKATA Maho <maho@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/94526: repocopy request devel/gmake -> deve/gmake-devel
Message-ID:  <200603160139.k2G1dvbk049930@www.freebsd.org>
Resent-Message-ID: <200603161509.k2GF9BoK081972@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         94526
>Category:       ports
>Synopsis:       repocopy request devel/gmake -> deve/gmake-devel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 16 15:09:11 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     NAKATA Maho
>Release:        6.0-RELEASE
>Organization:
private
>Environment:
FreeBSD satie.private.org 6.0-RELEASE-p2 FreeBSD 6.0-RELEASE-p2 #0: Thu Jan 12 10:18:03 JST 2006    maho@satie.private.org:/usr/src/sys/i386/compile/MAHO  i386

>Description:
To comple OOo with GNU GCJ, of course we need GNU GCJ.
However, building GCJ eats too much of memory (over 1G), this is
due to bug of gmake 
see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24154 for details.

Fortunately in gmake-3.81rc1, there's no such kind of bugs, so I'd
like to have a new port, devel/gmake-devel to avoid incompatibility
between gmake 3.80 and gmake 3.81rc1.
>How-To-Repeat:


>Fix:
--- /dev/null   Thu Jan  1 09:00:00 1970
+++ gmake-devel/Makefile        Thu Mar 16 10:26:40 2006
@@ -0,0 +1,31 @@
+# New ports collection makefile for:    GNU make-devel
+# Date created:         11 September 1994
+# Whom:                 jkh
+#
+# $FreeBSD$
+#
+
+PORTNAME=      gmake
+PORTVERSION=   3.81rc1
+CATEGORIES=    devel
+MASTER_SITES=   ${MASTER_SITE_GNU_ALPHA}
+MASTER_SITE_SUBDIR=     make
+DISTNAME=       make-${PORTVERSION}
+
+MAINTAINER=    openoffice@FreeBSD.org
+COMMENT=       Developer version of GNU version of 'make' utility
+
+USE_BZIP2=     yes
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET=      --build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS+=       --program-prefix=g --program-suffix=-devel
+CONFIGURE_ARGS+=       --disable-nls
+
+MAN1=          gmake-devel.1
+#INFO=         make
+
+post-install:
+       @${CHMOD} g-s ${PREFIX}/bin/gmake-devel
+       @chgrp ${BINGRP} ${PREFIX}/bin/gmake-devel
+
+.include <bsd.port.mk>

--- /dev/null   Thu Jan  1 09:00:00 1970
+++ gmake-devel/distinfo        Thu Mar  9 10:01:42 2006
@@ -0,0 +1,3 @@
+MD5 (make-3.81rc1.tar.bz2) = c907a044ebe7dff19f56f8dbb829cd3f
+SHA256 (make-3.81rc1.tar.bz2) = 8a16304f6f9772d75f6c85fab4ac4f5e71d56aa21abca64bf52774168073140b
+SIZE (make-3.81rc1.tar.bz2) = 1145516

--- /dev/null   Thu Jan  1 09:00:00 1970
+++ gmake-devel/files/patch-glob.c      Thu Mar  9 09:17:51 2006
@@ -0,0 +1,19 @@
+--- glob/glob.c.orig   Wed Sep 25 03:11:43 2002
++++ glob/glob.c        Wed Sep 25 03:15:32 2002
+@@ -215,13 +215,13 @@
+ #  ifdef HAVE_ALLOCA_H
+ #   include <alloca.h>
+ #  else       /* Not HAVE_ALLOCA_H.  */
+-#   ifndef _AIX
++#   if !defined (_AIX) && !defined (__FreeBSD__)
+ #    ifdef WINDOWS32
+ #     include <malloc.h>
+ #    else
+ extern char *alloca ();
+ #    endif /* WINDOWS32 */
+-#   endif /* Not _AIX.  */

I'll commit it after repo-copy has been done.
++#   endif /* Not _AIX && not __FreeBSD__.  */
+ #  endif /* sparc or HAVE_ALLOCA_H.  */
+ # endif       /* GCC.  */
+
+

--- /dev/null   Thu Jan  1 09:00:00 1970
+++ gmake-devel/files/patch-make.h      Thu Mar  9 09:17:51 2006
@@ -0,0 +1,12 @@
+--- make.h.orig        Wed Sep 11 18:55:44 2002
++++ make.h     Mon Oct 21 22:05:11 2002
+@@ -33,7 +33,7 @@
+ #  ifdef _AIX
+  #pragma alloca
+ #  else
+-#   ifndef alloca /* predefined by HP cc +Olibcalls */
++#   if !defined (alloca) && !defined (__FreeBSD__) /* predefined by HP cc +Olibcalls, part of stdlib.h on FreeBSD */
+ char *alloca ();
+ #   endif
+ #  endif
+

--- /dev/null   Thu Jan  1 09:00:00 1970
+++ gmake-devel/files/patch-noinfo      Thu Mar 16 10:25:07 2006
@@ -0,0 +1,16 @@
+--- doc/Makefile.in.orig       Mon Feb 20 12:28:36 2006
++++ doc/Makefile.in    Thu Mar 16 10:24:47 2006
+@@ -422,11 +422,11 @@
+
+ info-am: $(INFO_DEPS)
+
+-install-data-am: install-info-am
++install-data-am: # install-info-am
+
+ install-exec-am:
+
+-install-info: install-info-am
++install-info: # install-info-am
+
+ install-info-am: $(INFO_DEPS)
+       @$(NORMAL_INSTALL)

--- /dev/null   Thu Jan  1 09:00:00 1970
+++ gmake-devel/pkg-descr       Thu Mar  9 12:01:02 2006
@@ -0,0 +1,6 @@
+GNU make is a tool that controls the generation of executables and other
+non-source files from source files.  Its purpose is the same as that
+of the utility make(1). This is a developer version of GNU make, to
+test buidablity of existing packages using this.
+
+WWW: http://www.gnu.org/software/make/make.html

--- /dev/null   Thu Jan  1 09:00:00 1970
+++ gmake-devel/pkg-plist       Thu Mar  9 10:08:49 2006
@@ -0,0 +1 @@
+bin/gmake-devel

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603160139.k2G1dvbk049930>