pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/binutils Apply patch provided by Georg Schwarz i...
details: https://anonhg.NetBSD.org/pkgsrc/rev/704119dbf404
branches: trunk
changeset: 477537:704119dbf404
user: jschauma <jschauma%pkgsrc.org@localhost>
date: Sun Jul 04 17:16:32 2004 +0000
description:
Apply patch provided by Georg Schwarz in PR pkg/26157:
binutils does not build gprof on all platforms.
diffstat:
devel/binutils/Makefile | 16 ++++++++++++++--
devel/binutils/PLIST.common | 20 ++++++++++----------
2 files changed, 24 insertions(+), 12 deletions(-)
diffs (103 lines):
diff -r 0a6c086883c7 -r 704119dbf404 devel/binutils/Makefile
--- a/devel/binutils/Makefile Sun Jul 04 16:38:47 2004 +0000
+++ b/devel/binutils/Makefile Sun Jul 04 17:16:32 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2004/06/30 16:18:03 shannonjr Exp $
+# $NetBSD: Makefile,v 1.21 2004/07/04 17:16:32 jschauma Exp $
DISTNAME= binutils-2.15
PKGNAME= binutils-2.15.0.0
@@ -26,7 +26,19 @@
PLIST_SRC+= ${WRKDIR}/PLIST_DYNAMIC
PLIST_SRC+= ${PKGDIR}/PLIST.common_end
-INFO_FILES= as.info bfd.info binutils.info gprof.info ld.info
+INFO_FILES= as.info bfd.info binutils.info ld.info
+
+# gprof (XXX: and others?) can not be built on all platforms
+#
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "IRIX"
+NO_GPROF= "@comment "
+.else
+NO_GPROF= ""
+INFO_FILES+= gprof.info
+.endif
+
+PLIST_SUBST+= NO_GPROF=${NO_GPROF}
# Prevent the need to run texi2pod.pl and pod2man hence
# the need for perl as build dependency.
diff -r 0a6c086883c7 -r 704119dbf404 devel/binutils/PLIST.common
--- a/devel/binutils/PLIST.common Sun Jul 04 16:38:47 2004 +0000
+++ b/devel/binutils/PLIST.common Sun Jul 04 17:16:32 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.6 2004/02/13 08:26:03 seb Exp $
+@comment $NetBSD: PLIST.common,v 1.7 2004/07/04 17:16:32 jschauma Exp $
${MACHINE_GNU_PLATFORM}/bin/ar
${MACHINE_GNU_PLATFORM}/bin/as
${MACHINE_GNU_PLATFORM}/bin/ld
@@ -7,38 +7,38 @@
${MACHINE_GNU_PLATFORM}/bin/strip
${PKGLOCALEDIR}/locale/da/LC_MESSAGES/bfd.mo
${PKGLOCALEDIR}/locale/da/LC_MESSAGES/binutils.mo
-${PKGLOCALEDIR}/locale/da/LC_MESSAGES/gprof.mo
+${NO_GPROF}${PKGLOCALEDIR}/locale/da/LC_MESSAGES/gprof.mo
${PKGLOCALEDIR}/locale/da/LC_MESSAGES/ld.mo
${PKGLOCALEDIR}/locale/da/LC_MESSAGES/opcodes.mo
${PKGLOCALEDIR}/locale/de/LC_MESSAGES/opcodes.mo
${PKGLOCALEDIR}/locale/es/LC_MESSAGES/bfd.mo
${PKGLOCALEDIR}/locale/es/LC_MESSAGES/binutils.mo
${PKGLOCALEDIR}/locale/es/LC_MESSAGES/gas.mo
-${PKGLOCALEDIR}/locale/es/LC_MESSAGES/gprof.mo
+${NO_GPROF}${PKGLOCALEDIR}/locale/es/LC_MESSAGES/gprof.mo
${PKGLOCALEDIR}/locale/es/LC_MESSAGES/ld.mo
${PKGLOCALEDIR}/locale/es/LC_MESSAGES/opcodes.mo
${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/bfd.mo
${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/binutils.mo
${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/gas.mo
-${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/gprof.mo
+${NO_GPROF}${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/gprof.mo
${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/ld.mo
${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/opcodes.mo
-${PKGLOCALEDIR}/locale/id/LC_MESSAGES/gprof.mo
+${NO_GPROF}${PKGLOCALEDIR}/locale/id/LC_MESSAGES/gprof.mo
${PKGLOCALEDIR}/locale/id/LC_MESSAGES/opcodes.mo
${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/bfd.mo
${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/binutils.mo
-${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/gprof.mo
+${NO_GPROF}${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/gprof.mo
${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/opcodes.mo
${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/opcodes.mo
${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/bfd.mo
${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/binutils.mo
-${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/gprof.mo
+${NO_GPROF}${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/gprof.mo
${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/ld.mo
${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/opcodes.mo
${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/bfd.mo
${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/binutils.mo
${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/gas.mo
-${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/gprof.mo
+${NO_GPROF}${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/gprof.mo
${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/ld.mo
${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/opcodes.mo
${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/bfd.mo
@@ -47,7 +47,7 @@
bin/ar
bin/as
bin/c++filt
-bin/gprof
+${NO_GPROF}bin/gprof
bin/ld
bin/nm
bin/objcopy
@@ -72,7 +72,7 @@
man/man1/as.1
man/man1/c++filt.1
man/man1/dlltool.1
-man/man1/gprof.1
+${NO_GPROF}man/man1/gprof.1
man/man1/ld.1
man/man1/nlmconv.1
man/man1/nm.1
Home |
Main Index |
Thread Index |
Old Index