freebsd-ports/devel/gettext/files/patch-gettext-tools_configure
Ade Lovett 9c86ca102f Update to 0.16.1
Many thanks to all those that tested this update, particularly the
FreeBSD GNOME team.
2007-03-17 22:37:26 +00:00

38 lines
724 B
Text

--- gettext-tools/configure.orig Mon Nov 27 09:34:40 2006
+++ gettext-tools/configure Sun Dec 3 17:54:35 2006
@@ -3962,7 +3962,3 @@
-if test -n "$HAVE_GCJ" && test "$JAVA_CHOICE" = yes; then
- BUILDJAVAEXE=yes
-else
BUILDJAVAEXE=no
-fi
@@ -5110,13 +5106,5 @@
-if test -n "$HAVE_JAVACOMP" && test -n "$JAR" && test "$JAVA_CHOICE" != no; then
- BUILDJAVA=yes
-else
BUILDJAVA=no
-fi
-if test -n "$HAVE_JAVAEXEC" && test $BUILDJAVA = yes; then
- TESTJAVA=yes
-else
TESTJAVA=no
-fi
@@ -50083,2 +50071,13 @@
case "$host_os" in
+ freebsd[5-9]*)
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_BSDXML 1
+#define HAVE_LIBEXPAT 1
+_ACEOF
+
+ LIBEXPAT="-lbsdxml"
+ LTLIBEXPAT="-lbsdxml"
+
+ ;;
linux*)