summaryrefslogtreecommitdiff
path: root/devel/bcc/scripts
diff options
context:
space:
mode:
authortsarna <tsarna@pkgsrc.org>1998-07-17 04:39:19 +0000
committertsarna <tsarna@pkgsrc.org>1998-07-17 04:39:19 +0000
commitea68d45471aa5b7de4cdf1b847cf4e2452b1e946 (patch)
tree5c03e67e94b1d6a260bc0db6fcc5cdba481eb0f5 /devel/bcc/scripts
parent02b8d9c8d61e02cede71e2a721b8a9462d00b674 (diff)
downloadpkgsrc-ea68d45471aa5b7de4cdf1b847cf4e2452b1e946.tar.gz
Add pkg for bcc, a 16-bit x86 compiler
Diffstat (limited to 'devel/bcc/scripts')
-rwxr-xr-xdevel/bcc/scripts/configure50
1 files changed, 50 insertions, 0 deletions
diff --git a/devel/bcc/scripts/configure b/devel/bcc/scripts/configure
new file mode 100755
index 00000000000..3e64d7dea4e
--- /dev/null
+++ b/devel/bcc/scripts/configure
@@ -0,0 +1,50 @@
+#!/bin/sh
+#
+# $NetBSD: configure,v 1.1 1998/07/17 04:43:25 tsarna Exp $
+# FreeBSD Id: configure,v 1.1.1.1 1995/03/26 18:08:54 joerg Exp
+#
+# Author: Jörg Wunsch <joerg@FreeBSD.org>
+# Date of creation: Mar 26, 1995
+#
+
+# we don't need Bruce's symlink, since bmake knows about .PATH
+
+rm -f ${WRKSRC}/as/typeconv.o
+
+# since we like the ease of BSD's fancy .include <> files, we wish to
+# have an own directory for the compiler driver
+
+mv ${WRKSRC}/bcc ${WRKSRC}/bcc-cc1
+mkdir ${WRKSRC}/bcc
+cp -p ${FILESDIR}/Makefile.bcc ${WRKSRC}/bcc/Makefile
+
+# i wrote some man pages after Bruce's bcc.doc
+cp -p ${FILESDIR}/ld86.1 ${WRKSRC}/ld/
+cp -p ${FILESDIR}/as86.1 ${WRKSRC}/as/
+cp -p ${FILESDIR}/bcc.1 ${WRKSRC}/bcc/
+cp -p ${FILESDIR}/bcc-cc1.1 ${WRKSRC}/bcc-cc1/
+
+# create a Makefile.inc to pass the local prefix down to
+# the build stage:
+
+cat > ${WRKSRC}/Makefile.inc <<*EOF*
+#
+# Makefile.inc
+#
+# This file has been created by the "configure" script; DO NOT EDIT.
+#
+# Edit the port's Makefile \${PREFIX} variable should you wish to
+# override this, and reconfigure.
+#
+
+LOCALPREFIX = ${PREFIX}
+*EOF*
+
+# a simple Makefile to make all the subdirs
+
+cat > ${WRKSRC}/Makefile <<*EOF*
+
+SUBDIR = ld as bcc-cc1 bcc
+
+.include <bsd.subdir.mk>
+*EOF*