Index: files/patch-configure
===================================================================
--- files/patch-configure	(revision 32612)
+++ files/patch-configure	(working copy)
@@ -1,5 +1,5 @@
---- configure.orig	2005-08-22 07:40:39.000000000 +0900
-+++ configure	2005-08-22 07:41:03.000000000 +0900
+--- configure.orig	2004-06-30 01:04:12.000000000 -0700
++++ configure	2008-01-08 23:40:58.000000000 -0800
 @@ -5036,7 +5036,7 @@
    echo "$as_me:$LINENO: checking for libssl" >&5
  echo $ECHO_N "checking for libssl... $ECHO_C" >&6
@@ -18,6 +18,33 @@
      PAM_LDFLAGS="-L${p}"
      echo "$as_me:$LINENO: result: found in ${p}" >&5
  echo "${ECHO_T}found in ${p}" >&6
+@@ -5343,7 +5343,7 @@
+    echo "$as_me:$LINENO: checking for pam headers" >&5
+ echo $ECHO_N "checking for pam headers... $ECHO_C" >&6
+    for p in `eval "echo {${PAMLOCATIONS}}{/include,/include/pam,,/pam}"` ; do
+-    if test -r "${p}/security/pam_appl.h" ; then
++    if test -r "${p}/pam_appl.h"; then
+      PAM_INCLUDES="-I${p}"
+      echo "$as_me:$LINENO: result: found in ${p}" >&5
+ echo "${ECHO_T}found in ${p}" >&6
+@@ -5374,7 +5374,7 @@
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h.  */
+ 
+-       #include <security/pam_appl.h>
++       #include <pam_appl.h>
+        main(int argc,char **argv) {
+        }
+ 
+@@ -5447,7 +5447,7 @@
+ 
+ 
+ 
+- CCLIENTLOCATIONS="/usr,/usr/local"
++ CCLIENTLOCATIONS="/usr,/usr/local,/opt/local"
+  HAVE_CCLIENT="no"
+  CCLIENT_LIBS=""
+  CCLIENT_INCLUDES=""
 @@ -5496,8 +5496,8 @@
     { (exit 1); exit 1; }; }
  
Index: Portfile
===================================================================
--- Portfile	(revision 32612)
+++ Portfile	(working copy)
@@ -25,7 +25,6 @@
 
 configure.args	--with-c-client=${prefix} \
 				--with-openssl=${prefix} \
-				--without-pam \
 				--mandir=${prefix}/share/man
 configure.cppflags	"-I${prefix}/include/c-client"
 
