pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/gcc9 lang/gcc9: fix build on NetBSD-9.0_RC1-amd64
details: https://anonhg.NetBSD.org/pkgsrc/rev/65b5510e7b49
branches: trunk
changeset: 347019:65b5510e7b49
user: rillig <rillig%pkgsrc.org@localhost>
date: Mon Jan 06 15:43:51 2020 +0000
description:
lang/gcc9: fix build on NetBSD-9.0_RC1-amd64
gcc9 needs to install the fixed malloc.h in that configuration.
On NetBSD-8.0-amd64 this was not necessary though.
diffstat:
lang/gcc9/Makefile | 7 ++++++-
lang/gcc9/PLIST | 3 ++-
2 files changed, 8 insertions(+), 2 deletions(-)
diffs (38 lines):
diff -r fc527badab06 -r 65b5510e7b49 lang/gcc9/Makefile
--- a/lang/gcc9/Makefile Mon Jan 06 14:14:07 2020 +0000
+++ b/lang/gcc9/Makefile Mon Jan 06 15:43:51 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/01/05 21:15:45 rillig Exp $
+# $NetBSD: Makefile,v 1.2 2020/01/06 15:43:51 rillig Exp $
GCC9_PKGBASE= gcc9
GCC9_VERSION= 9.2.0
@@ -180,6 +180,11 @@
${TEST} -f ${DESTDIR}${GCC9_PREFIX}/bin/cc \
|| (cd ${DESTDIR}${GCC9_PREFIX}/bin && ${LN} -f gcc cc)
+PLIST_VARS+= fixed-malloc
+.if ${MACHINE_PLATFORM:MNetBSD-9.*-*}
+PLIST.fixed-malloc= yes
+.endif
+
PRINT_PLIST_AWK+= { gsub("${MACHINE_GNU_PLATFORM}", "$${MACHINE_GNU_PLATFORM}"); }
.include "../../devel/zlib/buildlink3.mk"
diff -r fc527badab06 -r 65b5510e7b49 lang/gcc9/PLIST
--- a/lang/gcc9/PLIST Mon Jan 06 14:14:07 2020 +0000
+++ b/lang/gcc9/PLIST Mon Jan 06 15:43:51 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2020/01/05 21:15:45 rillig Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/01/06 15:43:51 rillig Exp $
gcc9/bin/c++
gcc9/bin/cc
gcc9/bin/cpp
@@ -834,6 +834,7 @@
gcc9/lib/gcc/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include-fixed/README
gcc9/lib/gcc/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include-fixed/curses.h
gcc9/lib/gcc/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include-fixed/limits.h
+${PLIST.fixed-malloc}gcc9/lib/gcc/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include-fixed/malloc.h
gcc9/lib/gcc/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include-fixed/math.h
gcc9/lib/gcc/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include-fixed/netinet/ip_fil.h
gcc9/lib/gcc/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include-fixed/netinet/ip_lookup.h
Home |
Main Index |
Thread Index |
Old Index