openbsd-ports/devel/cil/patches/patch-configure_in

27 lines
711 B
Plaintext

$OpenBSD: patch-configure_in,v 1.6 2006/05/28 15:44:14 avsm Exp $
--- configure.in.orig Sun May 21 05:14:15 2006
+++ configure.in Sat May 27 18:33:20 2006
@@ -85,7 +85,7 @@ binaryExists() {
# this specifies the root of the source tree; it's just the
# directory where ./configure runs, except on cygwin, which
# overrides this below
-CILHOME=`pwd`
+CILHOME=${LOCALBASE}
DEFAULT_COMPILER=_GNUCC
DEFAULT_CIL_MODE=GNUCC
@@ -391,6 +391,13 @@ case "$target" in
# linux
*86*linux*|*86*freebsd*|*86*openbsd*|*86*darwin*)
AC_MSG_RESULT(configuring for linux/x86)
+
+ ARCHOS=x86_LINUX
+ ;;
+
+ # openbsd
+ *openbsd*)
+ AC_MSG_RESULT(configuring for OpenBSD)
ARCHOS=x86_LINUX
;;