svn commit: r381365 - in head/lang/gcc5-aux: . files

John Marino marino at FreeBSD.org
Sun Mar 15 23:09:14 UTC 2015


Author: marino
Date: Sun Mar 15 23:09:13 2015
New Revision: 381365
URL: https://svnweb.freebsd.org/changeset/ports/381365
QAT: https://qat.redports.org/buildarchive/r381365/

Log:
  lang/gcc5-aux: Fix ada hardlink
  
  The code to create a hardlink of gcc5-aux/bin/ada to gcc5-aux/bin/gcc
  did not work.  It appears that the "-" in front of the "if" condition
  isn't working in this context.  However, it's really not needed at all,
  so just remove it so the hardlink gets created.
  
  All Ada ports use gcc5-aux/bin/ada, so it was a critical problem.

Modified:
  head/lang/gcc5-aux/Makefile.version
  head/lang/gcc5-aux/files/diff-core

Modified: head/lang/gcc5-aux/Makefile.version
==============================================================================
--- head/lang/gcc5-aux/Makefile.version	Sun Mar 15 22:24:38 2015	(r381364)
+++ head/lang/gcc5-aux/Makefile.version	Sun Mar 15 23:09:13 2015	(r381365)
@@ -5,7 +5,7 @@ GCC_POINT=		0.0
 GCC_VERSION=		${GCC_BRANCH}.${GCC_POINT}
 SNAPSHOT=		20150308
 BUILD_RELEASE=		no
-MAIN_PR=		0
+MAIN_PR=		1
 UTIL_PR=		0
 ARMV7_PR=		0
 

Modified: head/lang/gcc5-aux/files/diff-core
==============================================================================
--- head/lang/gcc5-aux/files/diff-core	Sun Mar 15 22:24:38 2015	(r381364)
+++ head/lang/gcc5-aux/files/diff-core	Sun Mar 15 23:09:13 2015	(r381365)
@@ -327,7 +327,7 @@
  	    ( cd $(DESTDIR)$(bindir) && \
  	      $(LN) $(GCC_INSTALL_NAME)$(exeext) $(FULL_DRIVER_NAME) ); \
  	  fi; \
-+	  -if [ -f gnat1$(exeext) ] ; then \
++	  if [ -f gnat1$(exeext) ] ; then \
 +	    ( cd $(DESTDIR)$(bindir) && $(LN) $(GCC_INSTALL_NAME)$(exeext) ada$(exeext) ) \
 +	  fi; \
  	  if [ ! -f gcc-cross$(exeext) ] \


More information about the svn-ports-head mailing list