pkgsrc/lang/dylan-interpreter/patches/patch-ab
2002-10-03 14:25:04 +00:00

27 lines
1.1 KiB
Text

$NetBSD: patch-ab,v 1.3 2002/10/03 14:25:05 wiz Exp $
--- configure.in.orig Mon Dec 24 17:29:02 2001
+++ configure.in
@@ -102,6 +102,9 @@ case $1 in
sparc*-openbsd*) $2=sparc-openbsd-gcc ;;
i*86-*-freebsd2.*) $2=x86-freebsd-aout-gcc ;;
i*86-*-freebsd*) $2=x86-freebsd-elf-gcc ;;
+ i*86-*-netbsd*) $2=x86-netbsd-gcc ;;
+ powerpc-*-netbsd*) $2=ppc-netbsd-gcc ;;
+ sparc*-*-netbsd*) $2=sparc-netbsd-gcc ;;
i*86-pc-cygwin*) $2=x86-cygnus-gcc ;;
i*86-pc-none) $2=x86-win32-vc ;;
i*86-pc-beos) $2=x86-beos-gcc ;;
@@ -991,8 +994,10 @@ AC_OUTPUT(Defaults \
doc/parsergen.1 \
doc/make-dylan-app.1 \
doc/platforms.descr.4, [
-${INSTALL} -m uog+rx $builddir/tools/shared-misc/mk-build-tree ./
-${INSTALL} -m uog+rx $builddir/tools/shared-misc/gen-makefile ./
+cp $builddir/tools/shared-misc/mk-build-tree ./
+cp $builddir/tools/shared-misc/gen-makefile ./
+chmod uog+rx ./mk-build-tree
+chmod uog+rx ./gen-makefile
(PATH=$builddir:$PATH; export PATH; perl mk-build-tree -p$srcdir/d2c/compiler/platforms.descr)
touch $builddir/force.timestamp
], [