[72226] trunk/dports/gnome/gnome-keyring/files/patch-configure.in.diff

devans at macports.org devans at macports.org
Thu Oct 7 15:54:37 PDT 2010


Revision: 72226
          http://trac.macports.org/changeset/72226
Author:   devans at macports.org
Date:     2010-10-07 15:54:36 -0700 (Thu, 07 Oct 2010)
Log Message:
-----------
gnome-keyring: use PAM configure fix as implemented upstream.

Modified Paths:
--------------
    trunk/dports/gnome/gnome-keyring/files/patch-configure.in.diff

Modified: trunk/dports/gnome/gnome-keyring/files/patch-configure.in.diff
===================================================================
--- trunk/dports/gnome/gnome-keyring/files/patch-configure.in.diff	2010-10-07 22:42:54 UTC (rev 72225)
+++ trunk/dports/gnome/gnome-keyring/files/patch-configure.in.diff	2010-10-07 22:54:36 UTC (rev 72226)
@@ -1,14 +1,13 @@
 --- configure.in.orig	2010-06-21 06:51:38.000000000 -0700
-+++ configure.in	2010-10-06 16:15:01.000000000 -0700
-@@ -235,7 +235,10 @@
++++ configure.in	2010-10-07 15:14:13.000000000 -0700
+@@ -235,8 +235,8 @@
  
  pam_status="no"
  if test "$enable_pam" != "no"; then
 -	AC_CHECK_HEADER(security/pam_modules.h, have_pam=yes, have_pam=no)
-+        AC_CHECK_HEADERS(security/pam_modules.h, have_pam=yes, have_pam=no)
-+        if test "$have_pam" = "no"; then
-+                AC_CHECK_HEADERS(pam/pam_modules.h, have_pam=yes, have_pam=no)
-+        fi
- 	if test "$enable_pam" = "yes" -a "$have_pam" = "no"; then
+-	if test "$enable_pam" = "yes" -a "$have_pam" = "no"; then
++	AC_CHECK_HEADERS(security/pam_modules.h pam/pam_modules.h, [have_pam=yes; break], have_pam=no)
++        if test "$enable_pam" = "yes" -a "$have_pam" = "no"; then
  		AC_MSG_ERROR(The PAM headers are missing)
  	elif test "$have_pam" = "yes"; then
+ 		old_LIBS=$LIBS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101007/32186b34/attachment.html>


More information about the macports-changes mailing list