summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2022-05-19 15:57:23 +0000
committerryoon <ryoon@pkgsrc.org>2022-05-19 15:57:23 +0000
commit9d684f6b18bb844e5bb6979b6e82df2825a4a912 (patch)
treea3092e9397992824390dc3bc453c70caa4a06d0d /lang
parentf39ae8f9b1d08cec05d95207a0e545796732d328 (diff)
downloadpkgsrc-9d684f6b18bb844e5bb6979b6e82df2825a4a912.tar.gz
gcc10-aux: Fix build when lang/libunwind is installed
Do not include PREFIX/include in CPPFLAGS.
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc10-aux/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/lang/gcc10-aux/Makefile b/lang/gcc10-aux/Makefile
index e798b9581e7..2a14b5a4543 100644
--- a/lang/gcc10-aux/Makefile
+++ b/lang/gcc10-aux/Makefile
@@ -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 @@ LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
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 @@ CONFIGURE_ARGS+= --with-system-zlib
.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"