freebsd-ports/databases/firebird21-server/files/patch-configure.in
Jose Alonso Cardenas Marquez 0ec9572a95 - New port: databases/firebird21-server
Firebird is a relational database offering many ANSI SQL-99 features
that runs on Linux, Windows, and a variety of Unix platforms.  Firebird
offers excellent concurrency, high performance, and powerful language
support for stored procedures and triggers.  It has been used in
production systems, under a variety of names since 1981.

Firebird is completely free of any registration, licensing or deployment
fees.  It may be deployed freely for use with any third-party software,
whether commercial or not.

WWW: http://sourceforge.net/projects/firebird/
WWW: http://www.firebirdsql.org/

PR:		152402
Submitted by:	Max Kochubey <root at hangover.org.ru>
2010-12-20 09:05:05 +00:00

50 lines
1.5 KiB
Text

--- configure.in.orig 2009-06-05 16:50:33.000000000 +0700
+++ configure.in 2010-10-19 12:42:22.000000000 +0700
@@ -721,6 +721,7 @@
AC_MSG_RESULT(yes)],
[AC_MSG_RESULT(no)])
fi
+AM_PATH_ICU(3, 6)
AC_CHECK_SIZEOF(void *)
AC_CHECK_SIZEOF(long)
@@ -905,6 +906,10 @@
AC_SUBST(NEW_FIREBIRD_DIR)
AC_DEFINE_UNQUOTED(FB_PREFIX, $(if test "x$prefix" = "xNONE" ; then echo \"$ac_default_prefix\"; else echo \"$prefix\"; fi), [Installation path prefix])
+AC_DEFINE_UNQUOTED(FB_EXEC_PREFIX, "$exec_prefix", [Executables path prefix])
+AC_DEFINE_UNQUOTED(FB_CONF_PREFIX, "$sysconfdir", [Single-machine data path prefix])
+AC_DEFINE_UNQUOTED(FB_MSG_PREFIX, "$datadir", [Architecture-independent data path prefix])
+AC_DEFINE_UNQUOTED(FB_LIBEXEC_PREFIX, "$libexecdir", [Program executables path prefix])
AC_CONFIG_COMMANDS(,,[
dnl # rebuild version header if needed
@@ -1267,9 +1272,6 @@
if test "$STD_EDITLINE" = "false"; then
AC_CONFIG_FILES(gen/Makefile.extern.editline:${MAKE_SRC_DIR}/Makefile.in.extern.editline)
fi
-if test "$STD_ICU" = "false"; then
- AC_CONFIG_FILES(gen/Makefile.extern.icu:${MAKE_SRC_DIR}/Makefile.in.extern.icu)
-fi
case "$PLATFORM" in
SOLARIS | solx86 )
@@ -1280,18 +1282,7 @@
esac
-if test "$PROD_BUILD_FLG" = N; then
- DEBUG_ICU=--enable-debug
-fi
-
-if test "$STD_ICU" = "true"; then
AC_OUTPUT
-else
-AC_OUTPUT
-(cd extern/icu/source
-chmod +x runConfigureICU configure install-sh
-./runConfigureICU "$ICU_PLATFORM" "$DEBUG_ICU" --prefix=`pwd`/..)
-fi
dnl Print out the build configuration (the most interesting thing)
echo