[ekiga] Fix the previous commit



commit 49d88d7d6918c493387743c1c1f2e070ede4b844
Author: Matthias Apitz <guru unixarea de>
Date:   Tue May 24 16:22:32 2011 +0200

    Fix the previous commit

 autogen.sh |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 240899b..1d0ea87 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -43,5 +43,7 @@ if test -z "$gnome_autogen" ; then
   exit 1
 fi
 
-# -I /usr/local/share/aclocal is needed for FreeBSD ports
-ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I /usr/share/aclocal -I /usr/local/share/aclocal" GNOME_DATADIR="$gnome_datadir" USE_GNOME2_MACROS=1 . $gnome_autogen
+# FreeBSD ports needs -I /usr/local/share/aclocal, and only this
+test -d /usr/local/share/aclocal && ACLOCAL_DIR="-I /usr/local/share/aclocal"
+test -d /usr/share/aclocal && ACLOCAL_DIR="-I /usr/share/aclocal"
+ACLOCAL_FLAGS="$ACLOCAL_FLAGS $ACLOCAL_DIR" GNOME_DATADIR="$gnome_datadir" USE_GNOME2_MACROS=1 . $gnome_autogen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]