Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2007 11:13:11 GMT
From:      Philip Schulz <phs@deadc0.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/117480: New Port: devel/dev86 -- 8086 Development Tools
Message-ID:  <200710251113.l9PBDBNd020224@www.freebsd.org>
Resent-Message-ID: <200710251120.l9PBK3dk030417@freefall.freebsd.org>

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

>Number:         117480
>Category:       ports
>Synopsis:       New Port: devel/dev86 -- 8086 Development Tools
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 25 11:20:03 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Philip Schulz
>Release:        7.0-BETA1
>Organization:
>Environment:
FreeBSD thinkpad 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Mon Oct 22 10:00:36 CEST 2007     root@thinkpad.kronprinzenwg.local:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
There is a 8086 development environment maintained by Robert de Bath at http://homepage.ntlworld.com/robert.debath/

Parts of it is already provided through devel/bin86, however that port is missing the bcc part. There also is devel/bcc, which provides an (what seems to be) outdated version of bcc. Both port are marked as conflicting (which is right since they both install an as86 binary).

This port includes both bcc and the 8086 binutils.

The bcc included in this port is devel/bcc plus additions (according to the project's homepage). Also, devel/bin86 installes only the binutils part of this port. So I think both devel/bcc and devel/bin86 can be replaced by this port. Or left as is, since this port is marked as conflicting with both devel/bcc and devel/bin86.
>How-To-Repeat:

>Fix:
See attached shar.

Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	dev86
#	dev86/Makefile
#	dev86/pkg-descr
#	dev86/distinfo
#	dev86/files
#	dev86/files/patch-Makefile
#	dev86/pkg-plist
#
echo c - dev86
mkdir -p dev86 > /dev/null 2>&1
echo x - dev86/Makefile
sed 's/^X//' >dev86/Makefile << 'END-of-dev86/Makefile'
X# New ports collection makefile for:	dev86
X# Date created:				25 October 2007
X# Whom:					Philip Schulz <phs@deadc0.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	dev86
XPORTVERSION=	0.16.17
XCATEGORIES=	devel
XMASTER_SITES=	http://homepage.ntlworld.com/robert.debath/dev86/
XDISTNAME=	Dev86src-${PORTVERSION}
X
XMAINTAINER=	phs@deadc0.de
XCOMMENT=	Robert de Bath's 8086 development tools.
X
XCONFLICTS=	bcc-[0-9]* \
X		bin86-.*
X
XONLY_FOR_ARCHS=	i386
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
X
X.include <bsd.port.mk>
END-of-dev86/Makefile
echo x - dev86/pkg-descr
sed 's/^X//' >dev86/pkg-descr << 'END-of-dev86/pkg-descr'
XThis is port of Robert de Bath's 8086 Linux development environment. It is an
Xextension to Bruce Evan's C compiler (devel/bcc port).
X
XWWW: http://homepage.ntlworld.com/robert.debath/
X
END-of-dev86/pkg-descr
echo x - dev86/distinfo
sed 's/^X//' >dev86/distinfo << 'END-of-dev86/distinfo'
XMD5 (Dev86src-0.16.17.tar.gz) = e7bbfdbe61c2fb964994a087e29b0087
XSHA256 (Dev86src-0.16.17.tar.gz) = 52ed4980c0e4b68d2624aadb0ceb0339cb3fd8dd7c2175419d4f77a451846cbe
XSIZE (Dev86src-0.16.17.tar.gz) = 703028
END-of-dev86/distinfo
echo c - dev86/files
mkdir -p dev86/files > /dev/null 2>&1
echo x - dev86/files/patch-Makefile
sed 's/^X//' >dev86/files/patch-Makefile << 'END-of-dev86/files/patch-Makefile'
X--- Makefile.orig	2007-10-25 12:17:41.000000000 +0200
X+++ Makefile	2007-10-25 12:17:48.000000000 +0200
X@@ -12,7 +12,7 @@
X     config tests dis88 doselks bootblocks ld86r
X 
X ELKSSRC= /usr/src/elks
X-PREFIX=  /usr
X+PREFIX?=  /usr
X BINDIR=	 $(PREFIX)/bin
X LIBDIR=  $(PREFIX)/lib/bcc
X INCLDIR= $(PREFIX)/lib/bcc
END-of-dev86/files/patch-Makefile
echo x - dev86/pkg-plist
sed 's/^X//' >dev86/pkg-plist << 'END-of-dev86/pkg-plist'
Xbin/ar86
Xbin/as86
Xbin/bcc
Xbin/ld86
Xbin/nm86
Xbin/objdump86
Xbin/size86
Xlib/bcc/as86_encap
Xlib/bcc/bcc-cc1
Xlib/bcc/bcc-cpp
Xlib/bcc/copt
Xlib/bcc/i386/rules.386
Xlib/bcc/i386/rules.end
Xlib/bcc/i386/rules.start
Xlib/bcc/rules.186
Xlib/bcc/rules.386
Xlib/bcc/rules.86
Xlib/bcc/rules.end
Xlib/bcc/rules.i
Xlib/bcc/rules.net
Xlib/bcc/rules.start
Xlib/bcc/unproto
Xman/man1/as86.1
Xman/man1/bcc.1
Xman/man1/elks.1
Xman/man1/elksemu.1
Xman/man1/ld86.1
X@dirrm lib/bcc/i386
X@dirrm lib/bcc
END-of-dev86/pkg-plist
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



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