[pacman-dev] [PATCH 3/4] Warn about incompatible features on Darwin

Allan McRae allan at archlinux.org
Sun Dec 16 07:36:42 EST 2012


Features such as splitting debuging symbols and libdeps in makepkg
assume we are dealing with ELF binaries.  However, we have at least
one developer who wishes to still compile pacman on OSX so we can
not drop support completely.  Instead post a warning at the end of
the configure output about makepkg's limitations.

Signed-off-by: Allan McRae <allan at archlinux.org>
---

Dan wants to be able to compile on OSX, so we keep makepkg doing the
basics rather then removing darwin support altogether.

 configure.ac | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure.ac b/configure.ac
index 8ec0eab..8ea4d53 100644
--- a/configure.ac
+++ b/configure.ac
@@ -520,4 +520,9 @@ ${PACKAGE_NAME}:
     use git version        : ${wantgitver}
 "
 
+if test "x$host_os_darwin" = "xyes"; then
+	AC_MSG_WARN([pacman does support systems using non-ELF binaries. Some features of makepkg will not work.])
+fi
+
+
 # vim:set ts=2 sw=2 noet:
-- 
1.8.0.2



More information about the pacman-dev mailing list