q66 pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=dea408a2a4f1651f8ade3c4105b9d26b8cfe29b0
commit dea408a2a4f1651f8ade3c4105b9d26b8cfe29b0 Author: q66 <quake...@gmail.com> Date: Thu Aug 7 22:49:09 2014 +0100 autotools: install .pc files to the correct directory on FreeBSD --- Makefile.am | 5 +++++ configure.ac | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/Makefile.am b/Makefile.am index 13d9ac9..9ab1e96 100644 --- a/Makefile.am +++ b/Makefile.am @@ -71,7 +71,12 @@ m4/efl_doxygen.m4 \ config.rpath \ pkgbuild/PKGBUILD +if HAVE_FREEBSD +pkgconfigdir = $(libdir)data/pkgconfig +else pkgconfigdir = $(libdir)/pkgconfig +endif + pkgconfig_DATA = elementary.pc cmakeconfigdir = $(libdir)/cmake/Elementary diff --git a/configure.ac b/configure.ac index 2934824..21b7e2c 100644 --- a/configure.ac +++ b/configure.ac @@ -37,6 +37,12 @@ ELM_UNIX_DEF="#undef" ELM_WIN32_DEF="#undef" have_windows="no" have_dlopen="no" +have_freebsd="no" +case "$host_os" in + freebsd*) + have_freebsd="yes" + ;; +esac case "$host_os" in mingw*) PKG_CHECK_MODULES([EVIL], [evil]) @@ -88,6 +94,7 @@ esac AM_CONDITIONAL([BUILD_RUN], [test "x$have_socket" = "xyes"]) AM_CONDITIONAL([BUILD_MODULES], [test "x$have_dlopen" = "xyes"]) +AM_CONDITIONAL([HAVE_FREEBSD], [test "x${have_freebsd}" = "xyes"]) AC_SUBST([default_engine]) AC_DEFINE_UNQUOTED([DEFAULT_ENGINE], ["$default_engine"], ["Default engine according to host"]) --