SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
39
devel/msp430/gcc/Makefile
Normal file
39
devel/msp430/gcc/Makefile
Normal file
|
@ -0,0 +1,39 @@
|
|||
TOOL= gcc
|
||||
TOOL_V= 4.6.3
|
||||
|
||||
REVISION= 4
|
||||
|
||||
GNU_TOOL= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_GCC:=releases/gcc-$(TOOL_V)/}
|
||||
|
||||
DISTFILES= gcc-core-${TOOL_V}${EXTRACT_SUFX} \
|
||||
gcc-g++-${TOOL_V}${EXTRACT_SUFX}
|
||||
|
||||
LTS_PATCHES= msp430-gcc-4.6.3-20120406-sf3540953.patch \
|
||||
msp430-gcc-4.6.3-20120406-sf3559978.patch
|
||||
|
||||
.if ${MACHINE_ARCH} == "powerpc64"
|
||||
PATCH_LIST = patch-* vecstep-*
|
||||
.endif
|
||||
|
||||
WANTLIB += c gmp mpc mpfr
|
||||
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
RUN_DEPENDS= devel/msp430/binutils>=2.21.1a
|
||||
LIB_DEPENDS= devel/libmpc
|
||||
|
||||
LANGS= c,c++
|
||||
|
||||
SUBST_VARS+= TOOL_V
|
||||
|
||||
CONFIGURE_ARGS+= --enable-languages=${LANGS} \
|
||||
--enable-cpp \
|
||||
--with-gmp=${LOCALBASE} \
|
||||
--disable-lto
|
||||
|
||||
post-install:
|
||||
chown -R ${SHAREOWN}:${SHAREGRP} \
|
||||
${PREFIX}/lib/gcc/${TARGET}/${TOOL_V}/
|
||||
|
||||
.include <bsd.port.mk>
|
Loading…
Add table
Add a link
Reference in a new issue