From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Juergen Beisert Date: Wed, 21 Mar 2012 10:08:10 +0100 References: <1332318822-22111-1-git-send-email-w.sang@pengutronix.de> In-Reply-To: <1332318822-22111-1-git-send-email-w.sang@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201203211008.10769.jbe@pengutronix.de> Subject: Re: [ptxdist] [PATCH] rules: add libosip2 Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Kjell Ove =?utf-8?q?R=C3=B8te?= , Eivind Versvik > [...] > diff --git a/rules/libosip2.make b/rules/libosip2.make > new file mode 100644 > index 0000000..3d2a372 > --- /dev/null > +++ b/rules/libosip2.make > @@ -0,0 +1,55 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2012 by Eivind Versvik > +# Copyright (C) 2012 by Wolfram Sang > +# > +# See CREDITS for details about who has contributed to this project. > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_LIBOSIP2) += libosip2 > + > +# > +# Paths and names > +# > +LIBOSIP2_VERSION := 3.3.0 Why such an "old" version? > +LIBOSIP2_MD5 := 81493bb4d4ae6d55b71a0d4369339125 > +LIBOSIP2 := libosip2-$(LIBOSIP2_VERSION) > +LIBOSIP2_SUFFIX := tar.gz > +LIBOSIP2_URL := $(call ptx/mirror, GNU, osip/$(LIBOSIP2).$(LIBOSIP2_SUFFIX)) > +LIBOSIP2_SOURCE := $(SRCDIR)/$(LIBOSIP2).$(LIBOSIP2_SUFFIX) > +LIBOSIP2_DIR := $(BUILDDIR)/$(LIBOSIP2) > +LIBOSIP2_LICENSE := LGPLv2.1+ > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +LIBOSIP2_CONF_TOOL := autoconf You should take into account that its configure tries to guess many things. To get reliable results you need more (this is from my WIP libosib2-3.6.0 implementation): LIBOSIP2_CONF_OPT := \ $(CROSS_AUTOCONF_USR) \ --enable-shared \ --disable-static \ --$(call ptx/endis, PTXCONF_LIBOSIP2_DEBUG)-debug \ --$(call ptx/endis, PTXCONF_LIBOSIP2_TRACE)-trace \ --disable-mpatrol \ --disable-gprof \ --enable-mt \ --enable-pthread \ --enable-semaphore \ --disable-sysv \ --disable-gperf \ --disable-hashtable \ --disable-test # '--enable-minisize' clobbers the library in many strange ways. # At the end the libeXosip2, depending on the libosip2, cannot be used anymore, # but also libeXosip2 with '--enable-minisize' breaks the libeXosip2 itself # So, no way to use this switch in libosip2 and libeXosip2. What a mess. LIBOSIP2_CONF_OPT += --disable-minisize Regards, Juergen -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | http://www.pengutronix.de/ | -- ptxdist mailing list ptxdist@pengutronix.de