Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2014 07:00:00 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361188 - head/devel/mingw32-gcc
Message-ID:  <201407080700.s68700Lx083117@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Tue Jul  8 07:00:00 2014
New Revision: 361188
URL: http://svnweb.freebsd.org/changeset/ports/361188
QAT: https://qat.redports.org/buildarchive/r361188/

Log:
  Stagify.

Modified:
  head/devel/mingw32-gcc/Makefile
  head/devel/mingw32-gcc/pkg-plist

Modified: head/devel/mingw32-gcc/Makefile
==============================================================================
--- head/devel/mingw32-gcc/Makefile	Tue Jul  8 06:58:34 2014	(r361187)
+++ head/devel/mingw32-gcc/Makefile	Tue Jul  8 07:00:00 2014	(r361188)
@@ -35,7 +35,6 @@ CONFIGURE_SCRIPT=	../${SRCDIR:C/${WRKDIR
 
 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=$
 		--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>

Modified: head/devel/mingw32-gcc/pkg-plist
==============================================================================
--- head/devel/mingw32-gcc/pkg-plist	Tue Jul  8 06:58:34 2014	(r361187)
+++ head/devel/mingw32-gcc/pkg-plist	Tue Jul  8 07:00:00 2014	(r361188)
@@ -265,6 +265,11 @@ lib/gcc/%%GCC_TARG%%/%%GCC_REV%%/plugin/
 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%%/plu
 @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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407080700.s68700Lx083117>