aboutsummaryrefslogtreecommitdiff
path: root/devel
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
parentdea483788d4416325fbb21087f178be15f7c5709 (diff)
downloadports-7f25dd8664ffff770acffb2e42349a384292d8eb.tar.gz
ports-7f25dd8664ffff770acffb2e42349a384292d8eb.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/mingw32-gcc/Makefile11
-rw-r--r--devel/mingw32-gcc/pkg-plist7
2 files changed, 11 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>
diff --git a/devel/mingw32-gcc/pkg-plist b/devel/mingw32-gcc/pkg-plist
index ae3050757c5b..8f2547b99af0 100644
--- a/devel/mingw32-gcc/pkg-plist
+++ b/devel/mingw32-gcc/pkg-plist
@@ -265,6 +265,11 @@ lib/gcc/%%GCC_TARG%%/%%GCC_REV%%/plugin/include/vecir.h
lib/gcc/%%GCC_TARG%%/%%GCC_REV%%/plugin/include/vecprim.h
lib/gcc/%%GCC_TARG%%/%%GCC_REV%%/plugin/include/version.h
lib/gcc/%%GCC_TARG%%/libgcc_s_dw2-1.dll
+man/man1/%%PKGNAMEPREFIX%%cpp.1.gz
+man/man1/%%PKGNAMEPREFIX%%g++.1.gz
+man/man1/%%PKGNAMEPREFIX%%gcc.1.gz
+man/man1/%%PKGNAMEPREFIX%%gcov.1.gz
+man/man1/%%PKGNAMEPREFIX%%gfortran.1.gz
libexec/gcc/%%GCC_TARG%%/%%GCC_REV%%/cc1
libexec/gcc/%%GCC_TARG%%/%%GCC_REV%%/cc1obj
libexec/gcc/%%GCC_TARG%%/%%GCC_REV%%/cc1objplus
@@ -979,3 +984,5 @@ libexec/gcc/%%GCC_TARG%%/%%GCC_REV%%/plugin/gengtype
@dirrm %%GCC_TARG%%/share/gcc-%%GCC_REV%%/python
@dirrm %%GCC_TARG%%/share/gcc-%%GCC_REV%%
@dirrmtry %%GCC_TARG%%/share
+@dirrmtry %%GCC_TARG%%/info
+@dirrmtry %%GCC_TARG%%/include