Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Mar 2015 23:09:14 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r381365 - in head/lang/gcc5-aux: . files
Message-ID:  <201503152309.t2FN9En2039925@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) ] \



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