2008-03-08 01:13:42 +01:00
|
|
|
# $NetBSD: Makefile,v 1.21 2008/03/08 00:13:43 reed Exp $
|
1998-07-17 06:39:19 +02:00
|
|
|
|
1999-05-24 22:39:35 +02:00
|
|
|
DISTNAME= bcc
|
2008-03-08 01:13:42 +01:00
|
|
|
PKGREVISION= 1
|
1999-05-24 22:39:35 +02:00
|
|
|
PKGNAME= bcc-95.3.12
|
2005-02-13 04:04:55 +01:00
|
|
|
CATEGORIES= devel lang
|
1998-07-17 06:39:19 +02:00
|
|
|
|
2003-07-17 23:21:03 +02:00
|
|
|
MAINTAINER= tsarna@NetBSD.org
|
2001-02-16 15:38:16 +01:00
|
|
|
COMMENT= Bruce Evans' C compiler (with as and ld); can do 16-bit code
|
1998-07-17 06:39:19 +02:00
|
|
|
|
2008-03-08 01:13:42 +01:00
|
|
|
CONFLICTS= bin86-[0-9]*
|
|
|
|
CONFLICTS+= dev86-[0-9]*
|
|
|
|
|
2005-06-20 10:08:55 +02:00
|
|
|
NOT_FOR_PLATFORM= *-*-alpha *-*-x86_64 # Severe LP64 problems
|
2005-11-07 20:23:30 +01:00
|
|
|
NOT_FOR_PLATFORM+= Interix-*-* # no <a.out.h>
|
1998-11-13 00:03:39 +01:00
|
|
|
|
2007-01-18 12:55:45 +01:00
|
|
|
USE_BSD_MAKEFILE= yes
|
2008-02-07 14:24:36 +01:00
|
|
|
USE_TOOLS+= groff nroff
|
1998-07-20 15:09:24 +02:00
|
|
|
|
2006-10-22 08:31:43 +02:00
|
|
|
INSTALLATION_DIRS= bin lib/bcc ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1
|
|
|
|
|
2007-06-30 20:24:51 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "DragonFly"
|
|
|
|
CPPFLAGS+= -D_POSIX_SOURCE
|
|
|
|
.endif
|
|
|
|
|
2006-10-22 08:31:43 +02:00
|
|
|
post-extract:
|
|
|
|
set -e; \
|
|
|
|
cd ${FILESDIR}; \
|
|
|
|
mkdir ${WRKSRC}/bcc-cc1; \
|
|
|
|
cp Makefile.main ${WRKSRC}/Makefile; \
|
|
|
|
cp Makefile.ld ${WRKSRC}/ld/Makefile; \
|
|
|
|
cp ld86.1 ${WRKSRC}/ld/; \
|
|
|
|
cp Makefile.as ${WRKSRC}/as/Makefile; \
|
|
|
|
cp as86.1 ${WRKSRC}/as/; \
|
|
|
|
cp Makefile.bcc ${WRKSRC}/bcc/Makefile; \
|
|
|
|
cp bcc.1 ${WRKSRC}/bcc/; \
|
|
|
|
cp Makefile.bcc-cc1 ${WRKSRC}/bcc-cc1/Makefile; \
|
|
|
|
cp bcc-cc1.1 ${WRKSRC}/bcc-cc1/
|
|
|
|
rm -f ${WRKSRC}/as/typeconv.o
|
2001-10-25 22:40:07 +02:00
|
|
|
|
1998-07-17 06:39:19 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|