blob: 7ab96d8ec28f3c63701675ab3319148bbd2c550c (
plain) (
blame)
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
|
# Created by: Tassilo Philipp <tphilipp@potion-studios.com>
# $FreeBSD$
PORTREVISION= 4
PKGNAMESUFFIX= -stage2
MAINTAINER= tphilipp@potion-studios.com
BUILD_DEPENDS= ${LOCALBASE}/psp/lib/libc.a:devel/psptoolchain-newlib
MAKE_ENV= CFLAGS_FOR_TARGET="-G0" PATH=${PREFIX}/bin:${PATH}
CONFIGURE_ARGS= --prefix=${PREFIX} \
--target="psp" \
--enable-languages="c,c++" \
--enable-lto \
--with-newlib \
--with-gmp=${LOCALBASE} \
--with-mpfr \
--disable-libssp \
--disable-nls \
--enable-cxx-flags="-G0" \
--with-ld=${LOCALBASE}/bin/psp-ld \
--with-as=${LOCALBASE}/bin/psp-as \
--mandir=${PREFIX}/man
PLIST= ${.CURDIR}/pkg-plist
MASTERDIR= ${.CURDIR}/../psptoolchain-gcc-stage1
.include "${MASTERDIR}/Makefile"
|