[57033] trunk/dports/mail/alpine

jann at macports.org jann at macports.org
Sat Sep 5 04:20:47 PDT 2009


Revision: 57033
          http://trac.macports.org/changeset/57033
Author:   jann at macports.org
Date:     2009-09-05 04:20:46 -0700 (Sat, 05 Sep 2009)
Log Message:
-----------
Snow Leopard patch closes #21073

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

Added Paths:
-----------
    trunk/dports/mail/alpine/files/
    trunk/dports/mail/alpine/files/alpine-osx-10.6.patch

Modified: trunk/dports/mail/alpine/Portfile
===================================================================
--- trunk/dports/mail/alpine/Portfile	2009-09-05 11:19:50 UTC (rev 57032)
+++ trunk/dports/mail/alpine/Portfile	2009-09-05 11:20:46 UTC (rev 57033)
@@ -4,11 +4,13 @@
 
 name    alpine
 version 2.00
+revision 1
 categories  mail
 maintainers gmail.com:todmorrison
 description alpine - a Program for Internet News and Email
 homepage  http://www.washington.edu/alpine/
 platforms darwin
+use_parallel_build  no
 
 long_description Alpine is a tool for reading, sending, and managing \
   electronic messages that was designed with novice users in mind.
@@ -21,6 +23,11 @@
 
 worksrcdir ${distname}-${version}
 
+platform darwin 10 {
+  patchfiles alpine-osx-10.6.patch
+  patch.pre_args -p1
+}
+
 default_variants +without_tcl
 
 depends_lib \

Added: trunk/dports/mail/alpine/files/alpine-osx-10.6.patch
===================================================================
--- trunk/dports/mail/alpine/files/alpine-osx-10.6.patch	                        (rev 0)
+++ trunk/dports/mail/alpine/files/alpine-osx-10.6.patch	2009-09-05 11:20:46 UTC (rev 57033)
@@ -0,0 +1,30 @@
+diff -rc alpine-2.00/imap/Makefile alpine-2.00-10.6/imap/Makefile
+*** alpine-2.00/imap/Makefile	2008-06-04 19:43:35.000000000 +0100
+--- alpine-2.00-10.6/imap/Makefile	2009-09-02 10:55:38.000000000 +0100
+***************
+*** 418,424 ****
+  	$(TOUCH) ip6
+  	$(BUILD) BUILDTYPE=osx IP=$(IP6) EXTRAAUTHENTICATORS="$(EXTRAAUTHENTICATORS) gss" \
+  	PASSWDTYPE=pam \
+- 	EXTRACFLAGS="$(EXTRACFLAGS) -DMAC_OSX_KLUDGE=1" \
+  	SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/System/Library/OpenSSL/certs SSLKEYS=/System/Library/OpenSSL/private GSSINCLUDE=/usr/include GSSLIB=/usr/lib PAMDLFLAGS=-lpam"
+  
+  osx:	osxok an
+--- 418,423 ----
+diff -rc alpine-2.00/imap/src/osdep/unix/ckp_pam.c alpine-2.00-10.6/imap/src/osdep/unix/ckp_pam.c
+*** alpine-2.00/imap/src/osdep/unix/ckp_pam.c	2008-06-04 19:18:34.000000000 +0100
+--- alpine-2.00-10.6/imap/src/osdep/unix/ckp_pam.c	2009-09-02 10:56:36.000000000 +0100
+***************
+*** 27,37 ****
+   */
+  
+  
+- #ifdef MAC_OSX_KLUDGE		/* why can't Apple be compatible? */
+- #include <pam/pam_appl.h>
+- #else
+  #include <security/pam_appl.h>
+- #endif
+  
+  struct checkpw_cred {
+    char *uname;			/* user name */
+--- 27,33 ----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090905/5683f1b0/attachment.html>


More information about the macports-changes mailing list