7497ad9c29
-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)
33 lines
931 B
Makefile
33 lines
931 B
Makefile
# $NetBSD: Makefile,v 1.3 2003/07/08 15:05:00 drochner Exp $
|
|
#
|
|
|
|
PKGNAME= gcc3-f77-3.3
|
|
COMMENT= GNU Compiler Collection, f77 Compiler
|
|
|
|
INFO_FILES= g77.info
|
|
|
|
.include "../gcc3-c/buildaddon.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"
|