Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2019 15:56:13 +0000 (UTC)
From:      Gerald Pfeifer <gerald@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r495463 - head/lang/gcc6
Message-ID:  <201903121556.x2CFuDoW022138@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gerald
Date: Tue Mar 12 15:56:12 2019
New Revision: 495463
URL: https://svnweb.freebsd.org/changeset/ports/495463

Log:
  Simplify the creation of the multilib-related sub-directory tree on
  powerpc64 and avoid leaving an empty directory behind on the way.
  
  PR:		235964, 231804
  Discussed with:	Piotr Kubaj <pkubaj@anongoth.pl>

Modified:
  head/lang/gcc6/Makefile

Modified: head/lang/gcc6/Makefile
==============================================================================
--- head/lang/gcc6/Makefile	Tue Mar 12 15:51:24 2019	(r495462)
+++ head/lang/gcc6/Makefile	Tue Mar 12 15:56:12 2019	(r495463)
@@ -174,9 +174,8 @@ post-stage:
 	${RM} ${WRKDIR}/PLIST.lib
 
 .if ${ARCH} == powerpc64 && ${PORT_OPTIONS:MMULTILIB}
-	${MKDIR} ${STAGEDIR}${TARGLIB32}/gcc${SUFFIX}
-	${MV} ${STAGEDIR}${PREFIX}/lib/lib32/* ${STAGEDIR}${TARGLIB32}/gcc${SUFFIX}
-	${RMDIR} ${STAGEDIR}${PREFIX}/lib/lib32
+	${MKDIR} ${STAGEDIR}${TARGLIB32}
+	${MV} ${STAGEDIR}${PREFIX}/lib/lib32 ${STAGEDIR}${TARGLIB32}/gcc${SUFFIX}
 .endif
 
 .for d in ${TARGLIB:S/^${PREFIX}\///} ${TARGLIB32:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax



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