[72503] trunk/dports/www/webalizer/Portfile

dluke at macports.org dluke at macports.org
Mon Oct 18 08:25:11 PDT 2010


Revision: 72503
          http://trac.macports.org/changeset/72503
Author:   dluke at macports.org
Date:     2010-10-18 08:25:09 -0700 (Mon, 18 Oct 2010)
Log Message:
-----------
Fix portfile to actually find db47 headers/library (fixes #26103), port was broken, ticket open for 2 months

Modified Paths:
--------------
    trunk/dports/www/webalizer/Portfile

Modified: trunk/dports/www/webalizer/Portfile
===================================================================
--- trunk/dports/www/webalizer/Portfile	2010-10-18 14:51:56 UTC (rev 72502)
+++ trunk/dports/www/webalizer/Portfile	2010-10-18 15:25:09 UTC (rev 72503)
@@ -5,6 +5,7 @@
 
 name                   webalizer
 version                2.21-02
+revision               1
 categories             www
 maintainers            pobox.com:mike.mclean
 description            The Webalizer is a fast, free web server log file \
@@ -40,7 +41,9 @@
                         --with-z-inc=${prefix}/include \
                         --with-zlib=${prefix}/lib \
                         --with-png-inc=${prefix}/include \
-                        --with-png=${prefix}/lib
+                        --with-png=${prefix}/lib \
+                        --with-db=${prefix}/include/db47 \
+                        --with-dblib=${prefix}/lib/db47 
             
 destroot.destdir        prefix=${destroot}${prefix} \
                         ETCDIR=${destroot}${prefix}/etc \
@@ -68,6 +71,8 @@
 
 variant no_dns description {Disable DNS/GeoDB lookup code           [default=no => DNS/GeoDB enabled, bdb libs required]} {
     configure.args-append --disable-dns
+    configure.args-delete --with-db=${prefix}/include/db47 \
+                          --with-dblib=${prefix}/lib/db47  
     depends_lib-delete port:db47
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101018/3a950fec/attachment-0001.html>


More information about the macports-changes mailing list