aboutsummaryrefslogtreecommitdiff
path: root/devel/mingw32-gcc/Makefile
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-07-08 07:00:00 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-07-08 07:00:00 +0000
commit7f25dd8664ffff770acffb2e42349a384292d8eb (patch)
treedde4ace92b2a3dec3f363dbc699c055fc0a884d6 /devel/mingw32-gcc/Makefile
parentdea483788d4416325fbb21087f178be15f7c5709 (diff)
downloadports-7f25dd8664ffff770acffb2e42349a384292d8eb.tar.gz
ports-7f25dd8664ffff770acffb2e42349a384292d8eb.zip
Notes
Diffstat (limited to 'devel/mingw32-gcc/Makefile')
-rw-r--r--devel/mingw32-gcc/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/devel/mingw32-gcc/Makefile b/devel/mingw32-gcc/Makefile
index 9ed82ba6e2f9..8bb1b46ed288 100644
--- a/devel/mingw32-gcc/Makefile
+++ b/devel/mingw32-gcc/Makefile
@@ -35,7 +35,6 @@ CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
BINARIES= c++ cpp g++ gcc gcov gfortran
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
@@ -68,10 +67,7 @@ CONFIGURE_ARGS= --disable-nls --target=${GCC_TARG} \
--datadir=${PREFIX}/${GCC_TARG}/share \
--with-system-zlib
MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
-PLIST_SUB+= GCC_TARG=${GCC_TARG} GCC_REV=${GCCVERSION}
-MAN1= ${PKGNAMEPREFIX}cpp.1 ${PKGNAMEPREFIX}g++.1 \
- ${PKGNAMEPREFIX}gcc.1 ${PKGNAMEPREFIX}gcov.1 \
- ${PKGNAMEPREFIX}gfortran.1
+PLIST_SUB+= GCC_TARG=${GCC_TARG} GCC_REV=${GCCVERSION} PKGNAMEPREFIX=${PKGNAMEPREFIX}
INFO_PATH= ${GCC_TARG}/info
INFO= cpp cppinternals gcc gccinstall gccint gfortran
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
@@ -88,9 +84,10 @@ pre-configure:
@${MKDIR} ${CONFIGURE_WRKSRC}
post-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${GCC_TARG}/bin
.for F in ${BINARIES}
- @${LN} -f ${PREFIX}/bin/${PKGNAMEPREFIX}$F \
- ${PREFIX}/${GCC_TARG}/bin/$F
+ @${LN} -f ${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}$F \
+ ${STAGEDIR}${PREFIX}/${GCC_TARG}/bin/$F
.endfor
.include <bsd.port.post.mk>