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 <irvise%irvise.xyz@localhost>
Pushed By:	irvise
Date:		Mon Nov 1 21:52:12 2021 +0100
Changeset:	802b59c59c43e0efeb863c93044c4d54d48d6de7

Modified Files:
	gcc10-aux/Makefile

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:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=802b59c59c43e0efeb863c93044c4d54d48d6de7

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

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

diffs:
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,\./fixinc.sh,-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