summaryrefslogtreecommitdiff
path: root/lang/gcc3-f77/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2004-02-01 14:05:46 +0000
committerjlam <jlam>2004-02-01 14:05:46 +0000
commit7e4a907b3d5cc6e0f41f86602dc24403b1591163 (patch)
tree52008c433094c4f9359d1abdf86534eb4b05a283 /lang/gcc3-f77/Makefile
parent4e3056603bdd5fc642e87b7c693eb7935a3d10ba (diff)
downloadpkgsrc-7e4a907b3d5cc6e0f41f86602dc24403b1591163.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-f77/Makefile')
-rw-r--r--lang/gcc3-f77/Makefile28
1 files changed, 13 insertions, 15 deletions
diff --git a/lang/gcc3-f77/Makefile b/lang/gcc3-f77/Makefile
index d57a16ec647..bcfea74e96b 100644
--- a/lang/gcc3-f77/Makefile
+++ b/lang/gcc3-f77/Makefile
@@ -1,33 +1,31 @@
-# $NetBSD: Makefile,v 1.6 2003/08/11 14:16:04 drochner Exp $
-#
+# $NetBSD: Makefile,v 1.7 2004/02/01 14:05:47 jlam Exp $
-PKGNAME= gcc3${GCC3_PKGMODIF}-f77-${GCC_VERSION}
-COMMENT= GNU Compiler Collection, version 3, f77 compiler
+PKGNAME= gcc3${GCC3_PKGMODIF}-f77-${GCC_VERSION}
+COMMENT= GNU Compiler Collection, v3 - F77 compiler
-INFO_FILES= g77.info
+INFO_FILES= g77.info
-.include "../gcc3-c/buildaddon.mk"
+.include "../gcc3-c/language.mk"
CONFIGURE_ARGS+= --enable-languages="f77"
do-build:
- (cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} f77)
- (cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} g77)
- (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} all-target-libf2c)
+ cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} f77
+ cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} g77
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} all-target-libf2c
post-build:
@${SED} ${FILES_SUBST_SED} ${FILESDIR}/gcc3.mk > ${WRKDIR}/gcc3.mk
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gcc/f771 ${GCC_ARCHDIR}
- (cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} \
- f77.install-common f77.install-info f77.install-man)
- (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \
- install-target-libf2c)
+ cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} \
+ f77.install-common f77.install-info f77.install-man
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \
+ install-target-libf2c
post-install:
- ${INSTALL_DATA} ${WRKDIR}/gcc3.mk \
- ${GCC_PREFIX}/mk/f77.mk
+ ${INSTALL_DATA} ${WRKDIR}/gcc3.mk ${GCC_PREFIX}/mk/f77.mk
# ${LN} -f ${GCC_PREFIX}/bin/g77 ${GCC_PREFIX}/bin/f77
.include "../../mk/bsd.pkg.mk"