pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/gcc10-aux gcc10-aux: Fix build when lang/libunwin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2abd3e2d5fc4
branches:  trunk
changeset: 379592:2abd3e2d5fc4
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Thu May 19 15:57:23 2022 +0000

description:
gcc10-aux: Fix build when lang/libunwind is installed

Do not include PREFIX/include in CPPFLAGS.

diffstat:

 lang/gcc10-aux/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 8037011b2d7b -r 2abd3e2d5fc4 lang/gcc10-aux/Makefile
--- a/lang/gcc10-aux/Makefile   Thu May 19 15:37:52 2022 +0000
+++ b/lang/gcc10-aux/Makefile   Thu May 19 15:57:23 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2022/03/27 15:06:11 tnn Exp $
+# $NetBSD: Makefile,v 1.3 2022/05/19 15:57:23 ryoon Exp $
 
 GCC_PKGNAME=           gcc10-aux
 .include               "version.mk"
@@ -17,6 +17,9 @@
 DISTFILES=             ${DEFAULT_DISTFILES}
 EXTRACT_ONLY=          ${DEFAULT_DISTFILES}
 
+# Add gcc6-aux as an explicit dependency. It is needed to bootstrap.
+BUILD_DEPENDS+=                gcc6-aux-[0-9]*:../../lang/gcc6-aux
+
 # Relocations result in a linker error on AArch64, but not x86.
 MKPIE_SUPPORTED=       no
 
@@ -209,8 +212,6 @@
 .else
 CONFIGURE_ARGS+=       --without-system-zlib
 .endif
-# Add gcc6-aux as an explicit dependency. It is needed to bootstrap.
-.include "../../lang/gcc6-aux/buildlink3.mk"
 .include "../../mk/dlopen.buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index