Subject: Re: patch for net/ORBit on sgimips
To: Johnny C. Lam <jlam@NetBSD.org>
From: Christopher SEKIYA <wileyc@rezrov.net>
List: tech-pkg
Date: 01/19/2004 21:25:43
On Mon, Jan 19, 2004 at 11:58:00AM +0000, Johnny C. Lam wrote:

> Those variables take lists of values:

Neat.  (I should have looked at how LIBTOOL_OVERRIDE worked and derived it
myself ... sorry that I was so dense)

The patch below does the right thing.  Thanks for help from all,

-- Chris
	GPG key FEB9DE7F (91AF 4534 4529 4BCC 31A5  938E 023E EEFB FEB9 DE7F)


Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/ORBit/Makefile,v
retrieving revision 1.97
diff -u -r1.97 Makefile
--- Makefile	2004/01/12 00:00:03	1.97
+++ Makefile	2004/01/19 12:19:31
@@ -25,6 +25,14 @@
 LIBTOOL_OVERRIDE+=	${WRKSRC}/popt/libtool
 LIBTOOL_OVERRIDE+=	${WRKSRC}/libIDL/libtool
 
+CONFIG_GUESS_OVERRIDE+=	${WRKSRC}/config.guess
+CONFIG_GUESS_OVERRIDE+=	${WRKSRC}/libIDL/config.guess
+CONFIG_GUESS_OVERRIDE+=	${WRKSRC}/popt/config.guess
+
+CONFIG_SUB_OVERRIDE+=	${WRKSRC}/config.sub
+CONFIG_SUB_OVERRIDE+=	${WRKSRC}/libIDL/config.sub
+CONFIG_SUB_OVERRIDE+=	${WRKSRC}/popt/config.sub
+
 GNU_CONFIGURE=		YES
 CONFIGURE_ENV+=	LIBWRAP_PATH=${BUILDLINK_PREFIX.tcp_wrappers}/lib/libwrap.a
 CONFIGURE_ENV+=	LIB_WRAP="-lwrap"