]> git.pld-linux.org Git - packages/postfix.git/commitdiff
- Add --with tcp bcond for unofficial TCP lookup table.
authorjaphy <japhy@pld-linux.org>
Mon, 12 Feb 2007 16:55:08 +0000 (16:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    postfix.spec -> 1.273

postfix.spec

index c75bdab8ef7de693ae540e1da5ea86911df0be88..b7d6066ec7d4ec6ab1767baf7fdec5400c846850 100644 (file)
@@ -11,6 +11,7 @@
 %bcond_without cdb     # without cdb map support
 %bcond_without vda     # with VDA patch
 %bcond_with    hir     # with Beeth's header_if_reject patch
+%bcond_with    tcp     # with unofficial tcp: lookup table
 #%bcond_with   polish  # with double English+Polish messages
 #
 Summary:       Postfix Mail Transport Agent
@@ -230,6 +231,10 @@ sed -i '/scache_clnt_create/s/server/var_scache_service/' src/global/scache_clnt
 %patch10 -p1
 %patch11 -p1
 
+%if %{with tcp}
+sed -i 's/ifdef SNAPSHOT/if 1/' src/util/dict_open.c
+%endif
+
 %build
 %{__make} -f Makefile.init makefiles
 %{__make} tidy
This page took 0.126757 seconds and 4 git commands to generate.