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

Re: RPM tricks



Lamar Owen wrote:

> Dave, one day when you have time I'd like for you to explain the kernel spec's 
> use of --with and --without and how that's communicated to the spec file 
> build logic.  I would love to use --with and --without to do the conditional 
> subpackage building in PostgreSQL instead of the more unweildy --define 'tcl 
> 0' etc.  This might even be interesting to others on list.

I have done it in the zmailer spec file, easy:

%configure \
        --includedir=%{_Zincludedir} \
        --libdir=%{_libdir} \
        --mandir=%{_mandir} \
        --prefix=%{_prefix} \
        --with-perl-installdirs=PREFIX=%{buildroot}/%{_prefix} \
        --with-zconfig=%{_Zsysconfdir}/zmailer.conf \
        --with-logdir=%{_Zlogdir} \
        --with-mailbin=%{_Zlibexecdir} \
        --with-mailbox=%{_Zmaildir} \
        --with-mailvar=%{_Zsysconfdir} \
        --with-mailshare=%{_Zsysconfdir} \
        --with-postoffice=%{_Zpostoffdir} \
        --with-rmailpath=%{_bindir}/rmail \
        --with-sendmailpath=%{_sbindir}/sendmail \
        --with-vacationpath=%{_bindir}/vacation \
        --with-system-malloc \
        %{?_with_ssl:--with-openssl} \
        %{?_with_ldap:--with-ldap} \
        %{?_with_sasl2:--with-sasl2} \
        %{?_with_ipv6:--with-ipv6} \
        %{?_with_tcpw:--with-tcp-wrappers} \
        %{?_with_whoson:--with-whoson} \
        %{?_with_yp:--with-yp}

--
HTML mails are going to trash automagically




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