blob: 32236ecb57d71db83e2f568626a433af7d06fec5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $NetBSD: Makefile,v 1.10 2004/04/10 15:47:09 seb Exp $
PKGNAME= gcc3${GCC3_PKGMODIF}-f77-${GCC_VERSION}
COMMENT= GNU Compiler Collection, v3 - F77 compiler
INFO_FILES= g77.info
INSTLIBS= libf2c/libg2c.la
.include "../../lang/gcc3/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
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
post-install:
${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"
|