From 62674df6606b5314409082b8025545bfe2801af6 Mon Sep 17 00:00:00 2001 From: jdp Date: Wed, 8 Sep 1999 18:02:33 +0000 Subject: Make this port build again under both 3.x-stable and 4.x-current. It used to depend on a bunch of files from the FreeBSD source tree. But the import of gdb-4.18 and the restructuring connected with that broke the port. I have created a second distfile containing the needed files, and this port now gets them from there. Also mark this port broken for everything except i386/elf. I don't have time to fix the other platforms before the 3.3-RELEASE ports freeze. --- lang/m3gdb/Makefile | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'lang/m3gdb/Makefile') diff --git a/lang/m3gdb/Makefile b/lang/m3gdb/Makefile index 6d619df..bc8231c 100644 --- a/lang/m3gdb/Makefile +++ b/lang/m3gdb/Makefile @@ -6,24 +6,26 @@ # $FreeBSD$ # -DISTNAME= m3gdb-4.17 -CATEGORIES= lang devel -MASTER_SITES= http://www.freebsd.org/~jdp/distfiles/ +DISTNAME= m3gdb-4.17 +CATEGORIES= lang devel +MASTER_SITES= http://www.freebsd.org/~jdp/distfiles/ +DISTFILES= m3gdb-4.17.tar.gz \ + m3gdb-fbsd-4.17.tar.gz -MAINTAINER= jdp@FreeBSD.org +MAINTAINER= jdp@FreeBSD.org -MAN1= m3gdb.1 -MANCOMPRESSED= yes +MAN1= m3gdb.1 +MANCOMPRESSED= yes +ONLY_FOR_ARCHS= i386 -pre-fetch: - @if [ ! -d /usr/src/contrib/gdb ]; then \ - ${ECHO_MSG} "To build this port you must have the FreeBSD" \ - "sources in \"/usr/src\"."; \ - exit 1; \ - fi +.include + +.if ${PORTOBJFORMAT} == "aout" +BROKEN= does not support a.out systems +.endif pre-build: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} make depend @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} make libbuild -.include +.include -- cgit v1.1