From a5eba736b1c2265d6fff71bea942c5342536dcb0 Mon Sep 17 00:00:00 2001 From: drahn Date: Mon, 6 May 2002 22:57:48 +0000 Subject: [PATCH] Do not build dlltool on OpenBSD powerpc platforms, powerpc*-*-*pe* matches powerpc--openbsd unfortunately. ok fgsch@ --- devel/binutils/devel/Makefile | 3 ++- .../devel/patches/patch-binutils_configure_in | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 devel/binutils/devel/patches/patch-binutils_configure_in diff --git a/devel/binutils/devel/Makefile b/devel/binutils/devel/Makefile index 8663ed70547..d71b9dd5c99 100644 --- a/devel/binutils/devel/Makefile +++ b/devel/binutils/devel/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2002/04/22 08:32:22 fgsch Exp $ +# $OpenBSD: Makefile,v 1.4 2002/05/06 22:57:48 drahn Exp $ COMMENT= "GNU development tools" @@ -43,6 +43,7 @@ FILES= ar nm-new objdump ranlib size strings strip-new post-patch: @cd ${WRKSRC}/bfd && autoconf + @cd ${WRKSRC}/binutils && autoconf @-cd ${WRKSRC}/gas && { automake; autoconf; } @cd ${WRKSRC}/ld && automake diff --git a/devel/binutils/devel/patches/patch-binutils_configure_in b/devel/binutils/devel/patches/patch-binutils_configure_in new file mode 100644 index 00000000000..5fe85466565 --- /dev/null +++ b/devel/binutils/devel/patches/patch-binutils_configure_in @@ -0,0 +1,12 @@ +$OpenBSD: patch-binutils_configure_in,v 1.1 2002/05/06 22:57:48 drahn Exp $ +--- binutils/configure.in.orig Mon May 6 17:33:12 2002 ++++ binutils/configure.in Mon May 6 17:33:04 2002 +@@ -260,6 +260,8 @@ changequote([,])dnl + BUILD_DLLTOOL='$(DLLTOOL_PROG)' + DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_I386" + ;; ++ powerpc*-*-openbsd*) ++ ;; + powerpc*-*-*pe* | powerpc*-*-cygwin*) + BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)' + DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_PPC"