summaryrefslogtreecommitdiff
path: root/devel/binutils/Makefile
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2004-07-04 17:16:32 +0000
committerjschauma <jschauma@pkgsrc.org>2004-07-04 17:16:32 +0000
commit88efc6e97686793c30354e98e72b06353533cac3 (patch)
treeef8a58a1cd700076c23cd33f8760e3f3b63b8770 /devel/binutils/Makefile
parentbbbefe1a978808c434f67892e948ac1da0c6b2ae (diff)
downloadpkgsrc-88efc6e97686793c30354e98e72b06353533cac3.tar.gz
Apply patch provided by Georg Schwarz in PR pkg/26157:
binutils does not build gprof on all platforms.
Diffstat (limited to 'devel/binutils/Makefile')
-rw-r--r--devel/binutils/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
index 5ffab091d7e..06cff129342 100644
--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -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= ${PKGDIR}/PLIST.common
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.