openbsd-ports/devel/cil/patches/patch-configure_in
2005-10-08 08:06:52 +00:00

36 lines
825 B
Plaintext

$OpenBSD: patch-configure_in,v 1.4 2005/10/08 08:06:52 pvalchev Exp $
--- configure.in.orig Wed Jun 1 06:37:13 2005
+++ configure.in Sat Oct 8 02:22:16 2005
@@ -228,6 +228,8 @@ AC_MSG_CHECKING([for Perl])
;;
openbsd)
;;
+ openbsd)
+ ;;
darwin) # Mac OS X
;;
*)
@@ -395,6 +397,13 @@ case "$target" in
ARCHOS=x86_LINUX
;;
+ # openbsd
+ *openbsd*)
+ AC_MSG_RESULT(configuring for OpenBSD)
+
+ ARCHOS=x86_LINUX
+ ;;
+
# Mac OS X
*powerpc*darwin*)
AC_MSG_RESULT(configuring for powerpc/darwin, which we treat like linux/x86)
@@ -423,7 +432,7 @@ case "$target" in
])
;;
esac
-CILHOME=$CCUREDHOME
+CILHOME=${LOCALBASE}
# Make the object directory if not already present
AC_CHECK_FILE(obj/$ARCHOS,, AC_MSG_RESULT(creating obj/$ARCHOS);