pkgsrc/editors/leim21/patches/patch-ab
2011-03-21 06:32:33 +00:00

26 lines
875 B
Text

$NetBSD: patch-ab,v 1.2 2011/03/21 06:32:34 obache Exp $
--- configure.orig 2003-03-18 14:19:12.000000000 +0000
+++ configure
@@ -822,9 +822,13 @@ case "${canonical}" in
sparc*-*-netbsd*) machine=sparc ;;
vax-*-netbsd*) machine=vax ;;
arm-*-netbsd*) machine=arm ;;
+ x86_64-*-netbsd*) machine=amd64 ;;
esac
;;
+ ## Darwin / Mac OS X
+ powerpc-apple-darwin* )
+ machine=powermac opsys=darwin ;;
## OpenBSD ports
*-*-openbsd* )
opsys=openbsd
@@ -1659,6 +1663,7 @@ case "${canonical}" in
*-sysv4.2uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
*-386bsd* ) opsys=386bsd ;;
*-freebsd* ) opsys=freebsd ;;
+ *-dragonfly* ) opsys=dragonfly ;;
*-nextstep* ) opsys=nextstep ;;
## Otherwise, we'll fall through to the generic opsys code at the bottom.
esac