Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2018 09:25:32 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474844 - head/science/libghemical
Message-ID:  <201807180925.w6I9PWlQ061172@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Wed Jul 18 09:25:31 2018
New Revision: 474844
URL: https://svnweb.freebsd.org/changeset/ports/474844

Log:
  science/libghemical: Use ${GCC_DEFAULT} in CONFIGURE_ENV
  
  Improve the workaround line.

Modified:
  head/science/libghemical/Makefile

Modified: head/science/libghemical/Makefile
==============================================================================
--- head/science/libghemical/Makefile	Wed Jul 18 09:07:46 2018	(r474843)
+++ head/science/libghemical/Makefile	Wed Jul 18 09:25:31 2018	(r474844)
@@ -28,7 +28,7 @@ USE_GL=		gl
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
-CONFIGURE_ENV=	LD_PRELOAD=${LOCALBASE}/lib/gcc6/libgcc_s.so # workaround: otherwise configure fails
+CONFIGURE_ENV=	LD_PRELOAD=${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgcc_s.so # workaround: otherwise configure fails
 
 CONFIGURE_ARGS+=	--enable-mpqc
 CPPFLAGS+=	-I${LOCALBASE}/include



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