head	1.29;
access;
symbols
	pkgsrc-2013Q2:1.29.0.4
	pkgsrc-2013Q2-base:1.29
	pkgsrc-2012Q4:1.29.0.2
	pkgsrc-2012Q4-base:1.29
	pkgsrc-2012Q2:1.28.0.2
	pkgsrc-2012Q2-base:1.28
	pkgsrc-2012Q1:1.27.0.2
	pkgsrc-2012Q1-base:1.27
	pkgsrc-2011Q4:1.26.0.30
	pkgsrc-2011Q4-base:1.26
	pkgsrc-2011Q3:1.26.0.28
	pkgsrc-2011Q3-base:1.26
	pkgsrc-2011Q2:1.26.0.26
	pkgsrc-2011Q2-base:1.26
	pkgsrc-2011Q1:1.26.0.24
	pkgsrc-2011Q1-base:1.26
	pkgsrc-2010Q4:1.26.0.22
	pkgsrc-2010Q4-base:1.26
	pkgsrc-2010Q3:1.26.0.20
	pkgsrc-2010Q3-base:1.26
	pkgsrc-2010Q2:1.26.0.18
	pkgsrc-2010Q2-base:1.26
	pkgsrc-2010Q1:1.26.0.16
	pkgsrc-2010Q1-base:1.26
	pkgsrc-2009Q4:1.26.0.14
	pkgsrc-2009Q4-base:1.26
	pkgsrc-2009Q3:1.26.0.12
	pkgsrc-2009Q3-base:1.26
	pkgsrc-2009Q2:1.26.0.10
	pkgsrc-2009Q2-base:1.26
	pkgsrc-2009Q1:1.26.0.8
	pkgsrc-2009Q1-base:1.26
	pkgsrc-2008Q4:1.26.0.6
	pkgsrc-2008Q4-base:1.26
	pkgsrc-2008Q3:1.26.0.4
	pkgsrc-2008Q3-base:1.26
	cube-native-xorg:1.26.0.2
	cube-native-xorg-base:1.26
	pkgsrc-2008Q2:1.23.0.16
	pkgsrc-2008Q2-base:1.23
	cwrapper:1.23.0.14
	pkgsrc-2008Q1:1.23.0.12
	pkgsrc-2008Q1-base:1.23
	pkgsrc-2007Q4:1.23.0.10
	pkgsrc-2007Q4-base:1.23
	pkgsrc-2007Q3:1.23.0.8
	pkgsrc-2007Q3-base:1.23
	pkgsrc-2007Q2:1.23.0.6
	pkgsrc-2007Q2-base:1.23
	pkgsrc-2007Q1:1.23.0.4
	pkgsrc-2007Q1-base:1.23
	pkgsrc-2006Q4:1.23.0.2
	pkgsrc-2006Q4-base:1.23
	pkgsrc-2006Q3:1.22.0.4
	pkgsrc-2006Q3-base:1.22
	pkgsrc-2006Q2:1.22.0.2
	pkgsrc-2006Q2-base:1.22
	pkgsrc-2006Q1:1.19.0.2
	pkgsrc-2006Q1-base:1.19
	pkgsrc-2005Q4:1.18.0.2
	pkgsrc-2005Q4-base:1.18
	pkgsrc-2005Q3:1.17.0.4
	pkgsrc-2005Q3-base:1.17
	pkgsrc-2005Q2:1.17.0.2
	pkgsrc-2005Q2-base:1.17
	pkgsrc-2005Q1:1.16.0.6
	pkgsrc-2005Q1-base:1.16
	pkgsrc-2004Q4:1.16.0.4
	pkgsrc-2004Q4-base:1.16
	pkgsrc-2004Q3:1.16.0.2
	pkgsrc-2004Q3-base:1.16
	pkgsrc-2004Q2:1.15.0.2
	pkgsrc-2004Q2-base:1.15
	pkgsrc-2004Q1:1.13.0.2
	pkgsrc-2004Q1-base:1.13
	pkgsrc-2003Q4:1.7.0.2
	pkgsrc-2003Q4-base:1.7;
locks; strict;
comment	@# @;


1.29
date	2012.07.14.22.19.13;	author dholland;	state dead;
branches;
next	1.28;

1.28
date	2012.04.07.17.34.31;	author dholland;	state Exp;
branches;
next	1.27;

1.27
date	2012.03.17.01.54.37;	author sbd;	state Exp;
branches
	1.27.2.1;
next	1.26;

1.26
date	2008.09.07.05.12.58;	author dholland;	state Exp;
branches;
next	1.25;

1.25
date	2008.09.07.03.23.16;	author dholland;	state Exp;
branches;
next	1.24;

1.24
date	2008.09.07.03.14.04;	author dholland;	state Exp;
branches;
next	1.23;

1.23
date	2006.12.07.11.24.28;	author markd;	state Exp;
branches;
next	1.22;

1.22
date	2006.05.20.08.39.08;	author rillig;	state Exp;
branches;
next	1.21;

1.21
date	2006.04.09.01.11.31;	author jlam;	state Exp;
branches;
next	1.20;

1.20
date	2006.04.06.06.22.11;	author reed;	state Exp;
branches;
next	1.19;

1.19
date	2006.02.05.23.09.45;	author joerg;	state Exp;
branches;
next	1.18;

1.18
date	2005.12.05.20.50.25;	author rillig;	state Exp;
branches;
next	1.17;

1.17
date	2005.06.16.06.58.00;	author jlam;	state Exp;
branches;
next	1.16;

1.16
date	2004.07.02.15.40.01;	author drochner;	state Exp;
branches;
next	1.15;

1.15
date	2004.05.22.17.48.22;	author abs;	state Exp;
branches;
next	1.14;

1.14
date	2004.04.10.15.47.09;	author seb;	state Exp;
branches;
next	1.13;

1.13
date	2004.03.02.14.46.33;	author drochner;	state Exp;
branches;
next	1.12;

1.12
date	2004.02.20.06.52.43;	author jlam;	state Exp;
branches;
next	1.11;

1.11
date	2004.02.13.15.13.01;	author jlam;	state Exp;
branches;
next	1.10;

1.10
date	2004.02.10.19.33.11;	author jlam;	state Exp;
branches;
next	1.9;

1.9
date	2004.02.01.14.05.47;	author jlam;	state Exp;
branches;
next	1.8;

1.8
date	2003.12.03.11.28.55;	author drochner;	state Exp;
branches;
next	1.7;

1.7
date	2003.08.11.14.16.05;	author drochner;	state Exp;
branches;
next	1.6;

1.6
date	2003.08.08.09.31.03;	author grant;	state Exp;
branches;
next	1.5;

1.5
date	2003.07.23.09.50.51;	author drochner;	state Exp;
branches;
next	1.4;

1.4
date	2003.07.16.20.24.00;	author drochner;	state Exp;
branches;
next	1.3;

1.3
date	2003.07.08.15.05.02;	author drochner;	state Exp;
branches;
next	1.2;

1.2
date	2003.07.06.12.31.59;	author grant;	state Exp;
branches;
next	1.1;

1.1
date	2003.07.06.12.15.11;	author drochner;	state Exp;
branches;
next	;

1.27.2.1
date	2012.04.08.09.18.55;	author sbd;	state Exp;
branches;
next	;


desc
@@


1.29
log
@Remove gcc3-java as promised. Has not been buildable for years, if ever,
and various attempts to fix it have failed. Plus, gcc3 is highly obsolete
at this point and it's hardly worth spending effort on this. I believe
gcc-java support is available in most or all of the gcc4 packages.
@
text
@# $NetBSD: Makefile,v 1.28 2012/04/07 17:34:31 dholland Exp $

PKGNAME=	gcc3${GCC3_PKGMODIF}-java-${GCC_VERSION}
COMMENT=	GNU Compiler Collection, v3 - Java compiler

PKG_DESTDIR_SUPPORT=	user-destdir

BROKEN=	Unbuildable for years and obsolete.

BUILDLINK_API_DEPENDS.gcc3cxx+=	gcc3${GCC3_PKGMODIF}-c++-${GCC_VERSION}{,nb*}
BUILDLINK_DEPMETHOD.gcc3cxx+=	full

INFO_FILES=	# PLIST

INSTLIBS=	libjava/lib-org-w3c-dom.la				\
		libjava/lib-org-xml-sax.la				\
		libjava/libgcj.la

.include "../../lang/gcc3/language.mk"

CONFIGURE_ARGS+=	--enable-languages="java"
CONFIGURE_ARGS+=	--with-system-zlib

# done manually in do-build
#UNLIMIT_RESOURCES=	datasize

USE_TOOLS+=		awk:run
REPLACE_INTERPRETER+=	awk
REPLACE.awk.old=	/bin/awk
REPLACE.awk.new=	${AWK}
REPLACE_FILES.awk+=	libjava/addr2name.awk

do-build:
	cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} java
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
		GCC_FOR_TARGET=gcc \
		${GMAKE} configure-target-libjava
	[ -f ${WRKSRC}/${GCC_PLATFORM}/libjava/Makefile ] || ${FALSE}
	${ULIMIT_CMD_datasize}; cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
		${GMAKE} all-target-libjava

do-install:
	${INSTALL_PROGRAM_DIR} ${DESTDIR}${GCC_ARCHDIR}
	${INSTALL_PROGRAM} ${WRKSRC}/gcc/jc1 ${DESTDIR}${GCC_ARCHDIR}
	${INSTALL_PROGRAM} ${WRKSRC}/gcc/gcj ${DESTDIR}${GCC_ARCHDIR}
	${INSTALL_PROGRAM} ${WRKSRC}/gcc/jvgenmain ${DESTDIR}${GCC_ARCHDIR}
	${INSTALL_PROGRAM} ${WRKSRC}/gcc/gcjh ${DESTDIR}${GCC_ARCHDIR}
	cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${INSTALL_ENV} ${GMAKE} \
		java.install-common java.install-info
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${INSTALL_ENV} ${GMAKE} \
		install-target-libjava

.include "../../devel/zlib/buildlink3.mk"
.include "../../lang/gcc3-c++/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

# On NetBSD, the gcc-2.95.3 for:
#
#     alpha
#
# have an optimization bug when compiling with -O2 that is tickled by:
#
#   java/parse.o
#
# note that we don't override CFLAGS and CPPFLAGS because we want the
# crosscompiled compiler to be build with optimization.  This only
# disables optimization for the stage 1 build.
#
.if ${OPSYS} == "NetBSD"
.  if ${MACHINE_ARCH} == "alpha"
CONFIG_CFLAGS=		${CFLAGS:C/-O[0-9]*//g}
CONFIG_CPPFLAGS=	${CPPFLAGS:C/-O[0-9]*//g}
CONFIGURE_ENV+=		CFLAGS=${CONFIG_CFLAGS:Q} CPPFLAGS=${CONFIG_CPPFLAGS:Q}
.  endif
.endif
@


1.28
log
@Mark BROKEN. Has not built in a long time if ever; attempts to fix it
have failed. Also, gcc3 is obsolete.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2012/03/17 01:54:37 sbd Exp $
@


1.27
log
@Enable user-destdir support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2008/09/07 05:12:58 dholland Exp $
d8 2
@


1.27.2.1
log
@Pullup ticket #3710 - requested by dholland
Mark packages as broken.

Revisions pulled up:
- chat/centericq/Makefile                                       1.76
- devel/ArX/Makefile                                            1.33
- lang/gcc3-java/Makefile                                       1.28
- lang/gcc3/Makefile                                            1.66
- misc/jitterbug/Makefile                                       1.35
- www/sope/Makefile                                             1.18

---
   Module Name:	pkgsrc
   Committed By:	dholland
   Date:		Sat Apr  7 17:31:12 UTC 2012

   Modified Files:
   	pkgsrc/chat/centericq: Makefile

   Log Message:
   Mark BROKEN; has not been buildable in some years. Will be removed in
   due course unless someone fixes it. (Successor is chat/centerim.)

---
   Module Name:	pkgsrc
   Committed By:	dholland
   Date:		Sat Apr  7 17:32:40 UTC 2012

   Modified Files:
   	pkgsrc/devel/ArX: Makefile

   Log Message:
   Mark BROKEN; has not been buildable (in various differing ways) for
   some time. Will be removed in due course unless someone fixes it.
   Dead upstream; no successor. If you need this, speak up on pkgsrc-users.

---
   Module Name:	pkgsrc
   Committed By:	dholland
   Date:		Sat Apr  7 17:33:54 UTC 2012

   Modified Files:
   	pkgsrc/lang/gcc3: Makefile

   Log Message:
   Disable gcc3-java as it does not build, has not built in years, and
   attempts to fix it have failed.

---
   Module Name:	pkgsrc
   Committed By:	dholland
   Date:		Sat Apr  7 17:34:31 UTC 2012

   Modified Files:
   	pkgsrc/lang/gcc3-java: Makefile

   Log Message:
   Mark BROKEN. Has not built in a long time if ever; attempts to fix it
   have failed. Also, gcc3 is obsolete.

---
   Module Name:	pkgsrc
   Committed By:	dholland
   Date:		Sat Apr  7 17:35:09 UTC 2012

   Modified Files:
   	pkgsrc/misc/jitterbug: Makefile

   Log Message:
   Mark BROKEN; is not buildable and is dead upstream. Will be removed in
   due course.

---
   Module Name:	pkgsrc
   Committed By:	dholland
   Date:		Sat Apr  7 17:36:40 UTC 2012

   Modified Files:
   	pkgsrc/www/sope: Makefile

   Log Message:
   Mark BROKEN; has not been buildable in years. Will be removed in due
   course unless fixed. As far as anyone has been able to figure out so
   far, this is actually an older version of devel/SOPE.
@
text
@d1 1
a1 1
# $NetBSD$
a7 2
BROKEN=	Unbuildable for years and obsolete.

@


1.26
log
@Refine previous slightly; it can now actually configure libjava
library, and it might build for i386, although x86_64 is still pretty
broken.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2008/09/07 03:23:16 dholland Exp $
d6 1
a6 1
#PKG_DESTDIR_SUPPORT=	user-destdir	# untested
@


1.25
log
@And now, add some logic so if gcc declines to configure libjava, as
happens by default on amd64, the build will fail instead of silently
skipping it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2008/09/07 03:14:04 dholland Exp $
d34 1
d36 1
a36 1
	[ -f ${WRKSRC}/libjava/Makefile ] || ${FALSE}
@


1.24
log
@Changes that should result in DESTDIR support, only the package is too
broken to test fully, so I've left PKG_DESTDIR_SUPPORT commented out.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2006/12/07 11:24:28 markd Exp $
d33 3
@


1.23
log
@Update gcc3-* to 3.3.6.  Fix build of gcc3-f77 and gcc3-java on
NetBSD-current.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2006/05/20 08:39:08 rillig Exp $
d6 2
d37 6
a42 6
	${INSTALL_PROGRAM_DIR} ${GCC_ARCHDIR}
	${INSTALL_PROGRAM} ${WRKSRC}/gcc/jc1 ${GCC_ARCHDIR}
	${INSTALL_PROGRAM} ${WRKSRC}/gcc/gcj ${GCC_ARCHDIR}
	${INSTALL_PROGRAM} ${WRKSRC}/gcc/jvgenmain ${GCC_ARCHDIR}
	${INSTALL_PROGRAM} ${WRKSRC}/gcc/gcjh ${GCC_ARCHDIR}
	cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} \
d44 1
a44 1
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \
@


1.22
log
@Fixed the path to the AWK interpreter in addr2name.awk. Bumped
PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2006/04/09 01:11:31 jlam Exp $
a3 1
PKGREVISION=	2
@


1.21
log
@Info files have been moved to the PLIST already, so empty out the
INFO_FILES variable.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2006/04/06 06:22:11 reed Exp $
d4 1
a4 1
PKGREVISION=	1
d24 6
@


1.20
log
@Over 1200 files touched but no revisions bumped :)

RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2006/02/05 23:09:45 joerg Exp $
d10 1
a10 1
INFO_FILES=	gcj.info
@


1.19
log
@Recursive revision bump / recommended bump for gettext ABI change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2005/12/05 20:50:25 rillig Exp $
d7 1
a7 1
BUILDLINK_DEPENDS.gcc3cxx+=	gcc3${GCC3_PKGMODIF}-c++-${GCC_VERSION}{,nb*}
@


1.18
log
@Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2005/06/16 06:58:00 jlam Exp $
d4 1
@


1.17
log
@Create directories before installing files into them.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2004/07/02 15:40:01 drochner Exp $
d59 1
a59 1
CONFIGURE_ENV+=		CFLAGS="${CONFIG_CFLAGS}" CPPFLAGS="${CONFIG_CPPFLAGS}"
@


1.16
log
@update to 3.3.4
bugfixes only afaict, no new features, no new files
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2004/05/22 17:48:22 abs Exp $
d29 1
@


1.15
log
@Update gcc3-ada to 3.3.3nb1
Update gcc3-c++ to 3.3.3nb1
Update gcc3-c	to 3.3.3nb2
Update gcc3-f77 to 3.3.3nb1
Update gcc3-java to 3.3.3nb1
Update gcc3-objc to 3.3.3nb1
Update gcc3 to 3.3.3nb1

gcc arm: fix GCC _P_R_ target/14302

        Apply gcc fix for gcc PR target/14302 to fix ARM compiler
        issues triggered by at least glib, glib2, and pkgconfig.

             2004-02-26  Richard Earnshaw  <rearnsha@@arm.com>
                   Daniel Jacobowitz  <drow@@mvista.com>

                   PR target/14302
                   * arm.h (ARM_GO_IF_LEGITIMATE_ADDRESS): Don't check the mode
                   size for minipool references.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2004/04/10 15:47:09 seb Exp $
a3 1
PKGREVISION=    1
@


1.14
log
@Make all gcc3-* packages use a single distinfo file from gcc3/distinfo and
a single patch directory from gcc3/patches/.
Also Move gcc3-c/{Makefile.common,language.mk} into gcc3/.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2004/03/02 14:46:33 drochner Exp $
d4 1
@


1.13
log
@update to gcc-3.3.3
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2004/02/20 06:52:43 jlam Exp $
d15 1
a15 1
.include "../gcc3-c/language.mk"
@


1.12
log
@Use stricter dependency patterns so that we only match ones with the same
distribution version number.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2004/02/13 15:13:01 jlam Exp $
a3 1
PKGREVISION=	1
@


1.11
log
@Bump the PKGREVISION after fixing up the installed *.la files to remove
references to the buildlink work directories.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2004/02/10 19:33:11 jlam Exp $
d7 1
a7 1
BUILDLINK_DEPENDS.gcc3cxx+=	gcc3${GCC3_PKGMODIF}-c++>=${GCC_VERSION}
@


1.10
log
@Require at least ${GCC_VERSION} of the GCC C++ compiler package to build
this.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2004/02/01 14:05:47 jlam Exp $
d4 1
d7 3
d12 4
a17 2
BUILD_DEPENDS+=	gcc3${GCC3_PKGMODIF}-c++>=${GCC_VERSION}:../../lang/gcc3-c++

d40 1
@


1.9
log
@bl3ify the gcc3-* packages.  Also provide buildlink[23].mk files for use
by bsd.compiler.mk.  Note that in the buildlink3.mk files, the dependency
is always added regardless of the BUILDLINK_DEPTH.  This is because these
buildlink3.mk files may be included by bsd.prefs.mk, which is often
included other buildlink3.mk files, and we need to ensure that regardless
of the depth, we are using the correct compiler.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2003/12/03 11:28:55 drochner Exp $
d10 2
a11 1
BUILD_DEPENDS+=		gcc3${GCC3_PKGMODIF}-c++>=3.3.2:../../lang/gcc3-c++
@


1.8
log
@update to gcc-3.3.2 (bugfix release)
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.7 2003/08/11 14:16:05 drochner Exp $
#
d3 2
a4 2
PKGNAME=		gcc3${GCC3_PKGMODIF}-java-${GCC_VERSION}
COMMENT=		GNU Compiler Collection, version 3, Java compiler
d6 1
a6 1
INFO_FILES=		gcj.info
d8 1
a8 1
.include "../../lang/gcc3-c/buildaddon.mk"
d10 1
a10 1
BUILD_DEPENDS+=		gcc3${GCC3_PKGMODIF}-c++-3.3.2:../../lang/gcc3-c++
d13 1
d18 3
a20 2
	(cd ${WRKSRC}/gcc && ${GMAKE} java)
	(${ULIMIT_CMD_datasize}; cd ${WRKSRC} && ${GMAKE} all-target-libjava)
d27 4
a30 4
	(cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} \
		java.install-common java.install-info)
	(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \
		install-target-libjava)
d32 1
a32 1
.include "../../devel/zlib/buildlink2.mk"
d49 1
a49 1
CONFIG_CFLAGS=	${CFLAGS:C/-O[0-9]*//g}
d51 1
a51 1
CONFIGURE_ENV+=	CFLAGS="${CONFIG_CFLAGS}" CPPFLAGS="${CONFIG_CPPFLAGS}"
@


1.7
log
@update to 3.3.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2003/08/08 09:31:03 grant Exp $
d11 1
a11 1
BUILD_DEPENDS+=		gcc3${GCC3_PKGMODIF}-c++-3.3.1:../../lang/gcc3-c++
@


1.6
log
@include major version number in COMMENT for distinction, some minor
COMMENT tweaks.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2003/07/23 09:50:51 drochner Exp $
d4 1
a4 1
PKGNAME=		gcc3${GCC3_PKGMODIF}-java-3.3
d11 1
a11 1
BUILD_DEPENDS+=		gcc3${GCC3_PKGMODIF}-c++-3.3nb1:../../lang/gcc3-c++
@


1.5
log
@sync with PKGREVISION bump of gcc3-c++-3.3
should fix PR pkg/22188 by Todd Vierling
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2003/07/16 20:24:00 drochner Exp $
d5 1
a5 1
COMMENT=		GNU Compiler Collection, Java compiler
@


1.4
log
@elaborate the INSTALLTO_SUBPREFIX thing a bit more: modify the
PKGNAME if we are installing to an alternative location so that the
pkg system doesn't complain about conflicts.
Now it is possible to install a gcc3 tree to some location where
it can be used to bootstrap another instance of itself...
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2003/07/08 15:05:02 drochner Exp $
d11 1
a11 1
BUILD_DEPENDS+=		gcc3${GCC3_PKGMODIF}-c++-3.3:../../lang/gcc3-c++
@


1.3
log
@some cleanup:
-USE_NEW_TEXINFO, saves some patches
-symlink libiberty.a into build tree instead of buildlink/lib,
 saves some patches
-put common make rules into Makefile.common (for all) and
 buildaddon.mk (for all but the base "c" pkg)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2003/07/06 12:31:59 grant Exp $
d4 1
a4 1
PKGNAME=		gcc3-java-3.3
d11 1
a11 1
BUILD_DEPENDS+=		gcc3-c++-3.3:../../lang/gcc3-c++
@


1.2
log
@set GCC_VERSION for use in GCC_ARCHDIR. remove a superfluous comment
about GCC_PREFIX.

XXX why is GCC_PREFIX ${PREFIX}/gcc3 ?
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2003/07/06 12:15:11 drochner Exp $
a3 1
DISTNAME=		gcc-3.3
d5 1
a5 3
CATEGORIES=		lang
MASTER_SITES=		${MASTER_SITE_GNU:=gcc/gcc-3.3/}
EXTRACT_SUFX=		.tar.bz2
d7 1
a7 6
MAINTAINER=		tech-pkg@@netbsd.org
HOMEPAGE=		http://www.gnu.org/software/gcc/gcc.html
COMMENT=		GNU Compiler Collection

NOT_FOR_PLATFORM=	Darwin-*-*
DEPENDS+=	gcc3-c++-3.3:../../lang/gcc3-c++
d9 1
a9 3
USE_BUILDLINK2=		YES
USE_PKGINSTALL=		YES
USE_GMAKE=		YES
d11 1
a11 4
HAS_CONFIGURE=		YES

CONFIGURE_ARGS+=	--infodir=${PREFIX}/info
CONFIGURE_ARGS+=	--prefix=${GCC_PREFIX}
d14 2
a15 39
UNLIMIT_RESOURCES=	datasize

TEXINFO_REQD=		4.2

INFO_FILES=		gcj.info

.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && exists(/usr/include/pthread.h)
GCC_PLATFORM=	${MACHINE_GNU_ARCH}--netbsdelf2.0
PTHREAD_OPTS+=		require native
.include "../../mk/pthread.buildlink2.mk"
CPPFLAGS+=	-I${BUILDLINK_DIR}/include
CFLAGS+=	-I${BUILDLINK_DIR}/include
.else
GCC_PLATFORM=	${MACHINE_GNU_PLATFORM}
.endif
CONFIGURE_ARGS+=	--host=${GCC_PLATFORM}
PLIST_SUBST+=	GCC_PLATFORM=${GCC_PLATFORM}

.if ${OPSYS} == "NetBSD" || ${OPSYS} == "Linux"
CONFIGURE_ARGS+=	--enable-shared
.else
.  if ${OPSYS} == "SunOS"
CONFIGURE_ARGS+=	--enable-shared
.  else
CONFIGURE_ARGS+=	--disable-shared
.  endif
.  if ${CC:M*gcc*} == ""
ALL_TARGET=		bootstrap
.  endif
.endif

GCC_PREFIX=	${PREFIX}/gcc3
GCC_VERSION=	${PKGVERSION:C|nb*||}
GCC_ARCHDIR=	${GCC_PREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${GCC_VERSION}

pre-configure:
	${MKDIR} ${BUILD_DIRS}
	cd ${WRKSRC} && contrib/gcc_update --touch
a17 1
	${LN} -sf ${GCC_PREFIX}/bin/gcc ${WRKSRC}/gcc/xgcc
a30 1
.include "../../lang/gcc3-c/buildlink2.mk"
a31 1
.include "../../mk/texinfo.mk"
@


1.1
log
@Split the gcc3 pkg into per-language pieces.
Needs some cleanup and integration; eventually lang/gcc3 can turn into
a meta-pkg.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2003/07/03 11:58:05 drochner Exp $
a58 1
# as this is named gcc3, use DISTNAME instead.
d60 2
a61 1
GCC_ARCHDIR=	${GCC_PREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}
@

