From owner-freebsd-ports Mon Mar 29 17:50:19 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 98CE8156B5 for ; Mon, 29 Mar 1999 17:50:18 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id RAA82141; Mon, 29 Mar 1999 17:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Mon, 29 Mar 1999 17:50:01 -0800 (PST) Message-Id: <199903300150.RAA82141@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: "Daniel M. Eischen" Subject: Re: ports/10844: New port: adagdb Reply-To: "Daniel M. Eischen" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/10844; it has been noted by GNATS. From: "Daniel M. Eischen" To: eischen@vigrid.com, sheldonh@iafrica.com Cc: freebsd-gnats-submit@freebsd.org Subject: Re: ports/10844: New port: adagdb Date: Mon, 29 Mar 1999 16:40:30 -0500 This is a multi-part message in MIME format. --------------91FC6BD00FFF38AE349F00D0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > Doesn't compile here, on CURRENT as of yesterday. > > cc -c -O -pipe -DFREEBSD_ELF -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline -I../bfd -I./../bfd -I./../include blockframe.c > blockframe.c: In function `get_prev_frame_info': > blockframe.c:361: `kernel_debugging' undeclared (first use this > function) > blockframe.c:361: (Each undeclared identifier is reported only once > blockframe.c:361: for each function it appears in.) > *** Error code 1 It seems that version revision 1.306 of ports/Mk/bsd.port.mk broke this port. From the CVS logs: revision 1.306 date: 1999/03/08 07:23:10; author: asami; state: Exp; lines: +38 -18 (1) Change FETCH_CMD to add the -A flag, so it won't be confused by the "not_found.html" stuff. (2) Add "MACHINE_ARCH?=i386" so those with a 2.x system have a fighting chance of getting ports-current to work. (3) Add new variable CONFIGURE_TARGET, defaulting to ${MACHINE_ARCH}--freebsd${OSREL}, which is tucked to the end of CONFIGURE_ARGS if GNU_CONFIGURE is defined. This port was setting CONFIGURE_ARGS, but not CONFIGURE_TARGET. The default CONFIGURE_TARGET happened to be wrong for this port, plus configure got all confused having two targets specified. I modified the ports Makefile to correctly set CONFIGURE_TARGET. The port has been updated at my ftp site. Attached is a diff if you've already retrieved it. Dan Eischen eischen@vigrid.com --------------91FC6BD00FFF38AE349F00D0 Content-Type: text/plain; charset=us-ascii; name="adagdb.diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="adagdb.diffs" --- Makefile.orig Sun Mar 28 19:08:50 1999 +++ Makefile Mon Mar 29 16:34:20 1999 @@ -3,7 +3,7 @@ # Date created: 19 Mar 1999 # Whom: Daniel Eischen # -# $Id:$ +# $Id$ DISTNAME= gdb-4.17 PKGNAME= adagdb-4.17 @@ -29,7 +29,8 @@ GNUHOST= ${ARCH}-unknown-freebsd${OSREL} .endif -CONFIGURE_ARGS= --host=${GNUHOST} --program-prefix="ada" +CONFIGURE_TARGET= --host=${GNUHOST} +CONFIGURE_ARGS= --program-prefix="ada" # If you want to expose a fatal GCC error, define this: # @@ -45,7 +46,7 @@ # One patch depends on the GNAT patches being applied first. pre-patch: @${ECHO} "===> Applying GNAT-3.11p patches to ${DISTNAME}." - @(cd ${WRKSRC}; ${PATCH} -s < ${WRKDIR}/gnat-3.11p-src/src/gdb-4.17.gnat.diff ) + @(cd ${WRKSRC}; ${PATCH} ${PATH_ARGS} < ${WRKDIR}/gnat-3.11p-src/src/gdb-4.17.gnat.diff ) .if defined(EXPOSE_FATAL_GCC_ERROR) post-patch: --------------91FC6BD00FFF38AE349F00D0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message