summaryrefslogtreecommitdiff
path: root/devel/binutils/Makefile
diff options
context:
space:
mode:
authorjschauma <jschauma>2004-07-04 17:16:32 +0000
committerjschauma <jschauma>2004-07-04 17:16:32 +0000
commitfc49e5da6a4cc23d62b3606e0ece2a7cc7e86bc1 (patch)
treeef8a58a1cd700076c23cd33f8760e3f3b63b8770 /devel/binutils/Makefile
parent0d39460bf83100ded81ed8c6c806a78032ba470d (diff)
downloadpkgsrc-fc49e5da6a4cc23d62b3606e0ece2a7cc7e86bc1.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.