pkgsrc/emulators/p11/Makefile
wiz 403a021f1c Update to 2.10i, provided by Hans Rosenfeld on pkgsrc-users.
Included are three new patches to make it compile with gcc4, to
fix a bug in an emulated instruction and to increase the memory
size of the emulated system.

2006-10-27  Hartmut Brandt <harti@freebsd.org>

	* version 2.10i

	* Remove rl debugging prints

	* Fix a problem with IE in the TM CSR (submitted by Mike Haertel)

	* get rid of float_t - all *_t identifiers are reserved by posix!

2002-09-03  Hartmut Brandt  <brandt@fokus.gmd.de>

	* rename libdir to libpath

	* libdir is now a colon separated path of directories that
	defaults to :/etc:${datadir}/p11

	* implement an accessp() predicate to apply access(2) in a list
	of directories

	* further tweaks to the rpm spec file

2002-09-02  Hartmut Brandt  <brandt@fokus.gmd.de>

	* p11.spec, p11.sh and some tweaks to build rpms.

2002-08-14  Hartmut Brandt  <brandt@fokus.gmd.de>

	* main.c: implement daemonizing by specifying the -d option.

	* spot a gcc-3.1 error: Use of global registers generates bad
	code on the i386 for the MTPI instruction.
	Use --disable-regs for these platforms.

2002-03-07  Hartmut Brandt  <brandt@fokus.gmd.de>

	* float.h (FrExp): the result of this macro should be signed, so
	make the exponent signed before subtracting the offset.
	Spotted by: Frank Wortner

	* proc.h: include <time.h> to get localtime declaration. Spotted by:
 	imil@home.imil.net.

	* README: Add MacOS-X 10.1. Reported by: Christian Groessler.

2001-06-19  Hartmut Brandt  <brandt@fokus.gmd.de>

	* float.h (GetMant): Replace a u_quad_t by u_xquad_t.

	* README: Add Slackware 7.1
	Reformat paragraph.
2007-01-27 12:02:16 +00:00

51 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.16 2007/01/27 12:02:16 wiz Exp $
#
DISTNAME= p11-2.10i
CATEGORIES= emulators
MASTER_SITES= http://people.freebsd.org/~harti/p11/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= packages@grumpf.hope-2000.org
COMMENT= PDP11 emulator
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-begemot=${PREFIX:Q}
USE_LIBTOOL= yes
USE_TOOLS+= gmake
.include "../../mk/bsd.prefs.mk"
# bfp, tap, and tun tests taken from p11 configure script
.if exists(/dev/bpf0)
PLIST_SUBST+= BPF=
.else
PLIST_SUBST+= BPF="@comment "
.endif
.if exists(/dev/tap0) || exists(/dev/net/tun)
PLIST_SUBST+= TAP=
.elif ${OPSYS} == "DragonFly"
PLIST_SUBST+= TAP= # DragonFly has TAP
.else
PLIST_SUBST+= TAP="@comment "
.endif
.if exists(/dev/tun) || exists(/dev/tun0) || exists(/dev/net/tun) || ${OPSYS} == "DragonFly"
PLIST_SUBST+= TUN=
.else
PLIST_SUBST+= TUN="@comment "
.endif
# Force the bpf, tun, and tap epp backends to be built on DragonFly.
.if ${OPSYS} == "DragonFly"
CONFIGURE_ENV+= ac_cv_epp_bpf=yes ac_cv_epp_tun=yes ac_cv_epp_tap=yes
.endif
# override MAKEFLAGS in the build and install stages
do-build:
cd ${WRKSRC} && ${GMAKE} ${BUILD_TARGET} MAKEFLAGS=
do-install:
cd ${WRKSRC} && ${GMAKE} ${INSTALL_TARGET} MAKEFLAGS=
.include "../../devel/libbegemot/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"