q66 pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=236cdce358bee45bd5b0808b7efc9d9017bec3ba
commit 236cdce358bee45bd5b0808b7efc9d9017bec3ba Author: Daniel Kolesa <d.kol...@samsung.com> Date: Thu Aug 7 22:41:22 2014 +0100 autotools: install .pc files to the correct directory on FreeBSD --- Makefile.am | 5 +++++ configure.ac | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/Makefile.am b/Makefile.am index ecdbfd5..41a6bf3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -108,7 +108,12 @@ pkgbuild/efl.install \ po/xgettext_wrapper.sh \ po/Makevars.in +if HAVE_FREEBSD +pkgconfigdir = $(libdir)data/pkgconfig +else pkgconfigdir = $(libdir)/pkgconfig +endif + pkgconfig_DATA = if HAVE_WINDOWS diff --git a/configure.ac b/configure.ac index f1a2e33..51ffe92 100644 --- a/configure.ac +++ b/configure.ac @@ -187,6 +187,7 @@ AC_SUBST(EFL_VERSION_MINOR) have_systemd_pkg="no" have_win32="no" have_windows="no" +have_freebsd="no" have_darwin="no" have_linux="no" have_ps3="no" @@ -197,6 +198,9 @@ case "$host_os" in have_windows="yes" EFL_CFLAGS="${EFL_CFLAGS} -D__USE_MINGW_ANSI_STDIO" ;; + freebsd*) + have_freebsd="yes" + ;; darwin*) have_darwin="yes" ;; @@ -221,6 +225,7 @@ AM_CONDITIONAL([HAVE_WIN32], [test "x${have_win32}" = "xyes"]) AM_CONDITIONAL([HAVE_WINDOWS], [test "x${have_windows}" = "xyes"]) AM_CONDITIONAL([HAVE_PS3], [test "x${have_ps3}" = "xyes"]) +AM_CONDITIONAL([HAVE_FREEBSD], [test "x${have_freebsd}" = "xyes"]) AM_CONDITIONAL([HAVE_OSX], [test "x${have_darwin}" = "xyes"]) AM_CONDITIONAL([HAVE_X86_64], [test "x${host_cpu}" = "xx86_64"]) --