pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gcc10-aux: copy gcc6-aux approach. Build is now sucessful

Module Name:	pkgsrc-wip
Committed By:	irvise <>
Pushed By:	irvise
Date:		Mon Nov 1 21:52:12 2021 +0100
Changeset:	802b59c59c43e0efeb863c93044c4d54d48d6de7

Modified Files:

Log Message:
gcc10-aux: copy gcc6-aux approach. Build is now sucessful

Building the package should now work without any issues in
x86{_64} systems. The USE_LANGUAGES statement has been
deleted to further decouple the package from pkgsrc infra.

However, te installation still fails without any aparent
reason. Further review and testing is required.

To see a diff of this commit:;a=commitdiff;h=802b59c59c43e0efeb863c93044c4d54d48d6de7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

 gcc10-aux/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gcc10-aux/Makefile b/gcc10-aux/Makefile
index 9f73837e74..017264b260 100644
--- a/gcc10-aux/Makefile
+++ b/gcc10-aux/Makefile
@@ -26,7 +26,6 @@ MKPIE_SUPPORTED=	no
 NOT_FOR_PLATFORM=	Interix-*-*
-USE_LANGUAGES=		c99 c++
 USE_TOOLS+=		gcc6-aux gmake makeinfo sed:run tar:build
 USE_TOOLS.NetBSD+=	gsed
@@ -80,7 +79,9 @@ SUBST_SED.fixinc=	-e "s,\./,-c true,"
 ## Make gcc6-aux the compiler for the package since we need ada support.
 # This will allow the configure script to use the gnat* packages and gcc
 # with ada support
-CONFIGURE_ARGS+=       PATH=${PREFIX}/gcc6-aux/bin:${PATH}
+PATH=  /sbin:/bin:/usr/sbin:/usr/bin:${PREFIX}/gcc6-aux/bin:${PREFIX}/sbin:${PREFIX}/bin
+CC=    ${PREFIX}/gcc6-aux/bin/gcc
+CXX=   ${PREFIX}/gcc6-aux/bin/g++
 ## For graphite support.
 .if !empty(PKG_OPTIONS:Mgcc-graphite)

Home | Main Index | Thread Index | Old Index