diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-01 14:05:46 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-01 14:05:46 +0000 |
commit | 2f79dc83eeb36556d10029ee636c21b20e3c3efa (patch) | |
tree | 52008c433094c4f9359d1abdf86534eb4b05a283 /lang/gcc3-objc/Makefile | |
parent | 2b75a71604317fd862138c60918be111b376db89 (diff) | |
download | pkgsrc-2f79dc83eeb36556d10029ee636c21b20e3c3efa.tar.gz |
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.
Diffstat (limited to 'lang/gcc3-objc/Makefile')
-rw-r--r-- | lang/gcc3-objc/Makefile | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/lang/gcc3-objc/Makefile b/lang/gcc3-objc/Makefile index 821e2a1c9f0..b06eb5206e0 100644 --- a/lang/gcc3-objc/Makefile +++ b/lang/gcc3-objc/Makefile @@ -1,20 +1,19 @@ -# $NetBSD: Makefile,v 1.6 2003/08/11 14:16:06 drochner Exp $ -# +# $NetBSD: Makefile,v 1.7 2004/02/01 14:05:47 jlam Exp $ -PKGNAME= gcc3${GCC3_PKGMODIF}-objc-${GCC_VERSION} -COMMENT= GNU Compiler Collection, version 3, objc compiler +PKGNAME= gcc3${GCC3_PKGMODIF}-objc-${GCC_VERSION} +COMMENT= GNU Compiler Collection, v3 - Objective C compiler -.include "../gcc3-c/buildaddon.mk" +.include "../gcc3-c/language.mk" CONFIGURE_ARGS+= --enable-languages="objc" do-build: - (cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} objc) - (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} all-target-libobjc) + cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} objc + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} all-target-libobjc do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gcc/cc1obj ${GCC_ARCHDIR} - (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \ - install-target-libobjc) + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \ + install-target-libobjc .include "../../mk/bsd.pkg.mk" |