svn commit: r495463 - head/lang/gcc6

Gerald Pfeifer gerald at FreeBSD.org
Tue Mar 12 15:56:14 UTC 2019


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 at 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


More information about the svn-ports-all mailing list