Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 2003 23:27:33 +0000
From:      Lewis Thompson <purple@lewiz.net>
To:        ports@freebsd.org
Subject:   komodo port.  Suitable?
Message-ID:  <20031117232732.GA85218@lewiz.org>

next in thread | raw e-mail | index | archive | help

--yEPQxsgoJgBvi8ip
Content-Type: multipart/mixed; boundary="dDRMvlgZJXvWKvBx"
Content-Disposition: inline


--dDRMvlgZJXvWKvBx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

I've attached the Makefile from the Komodo port I am creating.  I am
trying to determine whether or not the method of using libiberty and
libbfd is suitable.  Right now it requires that libiberty.a and libbfd.a
exist in /usr/obj.

  Could somebody please confirm this is an acceptable method of going
about this before I submit the port?

  Thanks very much,

-lewiz.

--=20
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.
------------------------------------------------------------------------
-| msn:purple@lewiz.net | jabber:lewiz@jabber.org | url:www.lewiz.org |-

--dDRMvlgZJXvWKvBx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=Makefile

# New ports collection makefile for: komodo
# Date created:		24 October 2003
# Whom:			Lewis Thompson <purple@lewiz.net>
#
# $FreeBSD$
#

PORTNAME=	komodo
PORTVERSION=	0.9.16
CATEGORIES=	devel
MASTER_SITES=	http://www.cs.man.ac.uk/~brejc8/kmd/dist/
DISTNAME=	KMD-${PORTVERSION}

MAINTAINER=	purple@lewiz.net
COMMENT=	A graphical ARM debugger

RUN_DEPENDS=	${LOCALBASE}/arm-elf/bin/ld:${PORTSDIR}/devel/arm-elf-binutils

USE_X_PREFIX=	yes
USE_GNOME=	gtk12
USE_GMAKE=	yes
INSTALLS_SHLIB=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib -L/usr/obj/usr/src/gnu/usr.bin/binutils/libiberty \
		-L/usr/obj/usr/src/gnu/usr.bin/binutils/libbfd" \
		CFLAGS="-I${LOCALBASE}/include -I/usr/src/contrib/binutils/include"

.if defined(WITH_SIMPLE)
CONFIGURE_ARGS+=	--enable-simple-interface
.endif

LDFLAGS+=	-L${LOCALBASE}/lib -L/usr/obj/usr/src/gnu/usr.bin/binutils/libiberty \
		-L/usr/obj/usr/src/gnu/usr.bin/binutils/libbfd

.if !exists(/usr/obj/usr/src/gnu/usr.bin/binutils/libiberty/libiberty.a) \
	|| !exists(/usr/obj/usr/src/gnu/usr.bin/binutils/libbfd/libbfd.a)
BROKEN=		Compiled libiberty and libbfd libraries are required for compilation. \
		These are provided with ``make buildworld''
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/flash ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/src/jimulator ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/src/kmd ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/src/kmd_emulmips ${PREFIX}/bin

.include <bsd.port.mk>

--dDRMvlgZJXvWKvBx--

--yEPQxsgoJgBvi8ip
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/uVlkItq0KFQv7T8RAhAdAKCD8LNbVg5jEztvJRsP2+bwk8MCPACfbzPU
KnAWPN7IRT5e9GaTKIW1aZ0=
=llG2
-----END PGP SIGNATURE-----

--yEPQxsgoJgBvi8ip--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031117232732.GA85218>