blob: d6db0a8f95b1078b074446d89751d8e9f246cbcc (
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
|
# $NetBSD: Makefile,v 1.4 2003/07/16 20:23:59 drochner Exp $
#
PKGNAME= gcc3${GCC3_PKGMODIF}-c++-3.3
COMMENT= GNU Compiler Collection, c++ Compiler
.include "../gcc3-c/buildaddon.mk"
CONFIGURE_ARGS+= --enable-languages="c++"
do-build:
(cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} c++)
(cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} g++)
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} all-target-libstdc++-v3)
post-build:
@${SED} ${FILES_SUBST_SED} ${FILESDIR}/gcc3.mk > ${WRKDIR}/gcc3.mk
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gcc/cc1plus ${GCC_ARCHDIR}
(cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} \
c++.install-common c++.install-man)
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \
install-target-libstdc++-v3)
post-install:
${INSTALL_DATA} ${WRKDIR}/gcc3.mk ${GCC_PREFIX}/mk/c++.mk
.include "../../mk/bsd.pkg.mk"
|