summaryrefslogtreecommitdiffstats
path: root/lang/m3gdb/Makefile
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1999-09-08 18:02:33 +0000
committerjdp <jdp@FreeBSD.org>1999-09-08 18:02:33 +0000
commit62674df6606b5314409082b8025545bfe2801af6 (patch)
tree504938fe8fd607add1d3a77667f68c0ae868455c /lang/m3gdb/Makefile
parent76d6ad785d25ce14d62030f6d1e544eef5773a3f (diff)
downloadFreeBSD-ports-62674df6606b5314409082b8025545bfe2801af6.zip
FreeBSD-ports-62674df6606b5314409082b8025545bfe2801af6.tar.gz
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.
Diffstat (limited to 'lang/m3gdb/Makefile')
-rw-r--r--lang/m3gdb/Makefile28
1 files changed, 15 insertions, 13 deletions
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 <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud