[41076] trunk/dports/mail/exim/Portfile

blb at macports.org blb at macports.org
Wed Oct 22 01:18:11 PDT 2008


Revision: 41076
          http://trac.macports.org/changeset/41076
Author:   blb at macports.org
Date:     2008-10-22 01:18:10 -0700 (Wed, 22 Oct 2008)
Log Message:
-----------
mail/exim - fix some paths that worked with Tcl cd but not without, ticket #16953

Modified Paths:
--------------
    trunk/dports/mail/exim/Portfile

Modified: trunk/dports/mail/exim/Portfile
===================================================================
--- trunk/dports/mail/exim/Portfile	2008-10-22 07:51:31 UTC (rev 41075)
+++ trunk/dports/mail/exim/Portfile	2008-10-22 08:18:10 UTC (rev 41076)
@@ -82,17 +82,17 @@
 variant mysql4 { depends_lib-append      lib:libmysqlclient:mysql4 }
 
 post-configure {
-    reinplace "s|# AUTH_CRAM_MD5=yes|AUTH_CRAM_MD5=yes|g" Local/Makefile
-    reinplace "s|# AUTH_PLAINTEXT=yes|AUTH_PLAINTEXT=yes|g" Local/Makefile
-    reinplace "s|# AUTH_SPA=yes|AUTH_SPA=yes|g" Local/Makefile  
-    reinplace "s|# SUPPORT_TLS=yes|SUPPORT_TLS=yes|g" Local/Makefile
-    reinplace "s|# TLS_LIBS=-lssl -lcrypto|TLS_LIBS=-lssl -lcrypto|g" Local/Makefile
-    reinplace "s|# LDAP_LIB_TYPE=OPENLDAP2|LDAP_LIB_TYPE=OPENLDAP2|g" Local/Makefile
-    reinplace "s|# LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient -lpq -lgds|LOOKUP_LIBS=-lldap|g" Local/Makefile
+    reinplace "s|# AUTH_CRAM_MD5=yes|AUTH_CRAM_MD5=yes|g" ${worksrcpath}/Local/Makefile
+    reinplace "s|# AUTH_PLAINTEXT=yes|AUTH_PLAINTEXT=yes|g" ${worksrcpath}/Local/Makefile
+    reinplace "s|# AUTH_SPA=yes|AUTH_SPA=yes|g" ${worksrcpath}/Local/Makefile  
+    reinplace "s|# SUPPORT_TLS=yes|SUPPORT_TLS=yes|g" ${worksrcpath}/Local/Makefile
+    reinplace "s|# TLS_LIBS=-lssl -lcrypto|TLS_LIBS=-lssl -lcrypto|g" ${worksrcpath}/Local/Makefile
+    reinplace "s|# LDAP_LIB_TYPE=OPENLDAP2|LDAP_LIB_TYPE=OPENLDAP2|g" ${worksrcpath}/Local/Makefile
+    reinplace "s|# LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient -lpq -lgds|LOOKUP_LIBS=-lldap|g" ${worksrcpath}/Local/Makefile
 
     if {[variant_isset mysql] || [variant_isset mysql4]} {
-        reinplace "s|# LOOKUP_MYSQL=yes|LOOKUP_MYSQL=yes|g" Local/Makefile
-        reinplace "s|# LOOKUP_INCLUDE=.*|LOOKUP_INCLUDE=-I ${prefix}/include/mysql -I ${prefix}/include -I /usr/include|g" Local/Makefile
+        reinplace "s|# LOOKUP_MYSQL=yes|LOOKUP_MYSQL=yes|g" ${worksrcpath}/Local/Makefile
+        reinplace "s|# LOOKUP_INCLUDE=.*|LOOKUP_INCLUDE=-I ${prefix}/include/mysql -I ${prefix}/include -I /usr/include|g" ${worksrcpath}/Local/Makefile
     }
 
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081022/663442e6/attachment.html>


More information about the macports-changes mailing list