Thu Sep 25 10:21:58 2014 UTC ()
Fix SunOS configure and build for the (default) pam option.


(fhajny)
diff -r1.5 -r1.6 pkgsrc/www/cherokee/distinfo
diff -r0 -r1.1 pkgsrc/www/cherokee/patches/patch-configure

cvs diff -r1.5 -r1.6 pkgsrc/www/cherokee/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/www/cherokee/Attic/distinfo 2012/03/22 22:40:18 1.5
+++ pkgsrc/www/cherokee/Attic/distinfo 2014/09/25 10:21:57 1.6
@@ -1,6 +1,7 @@ @@ -1,6 +1,7 @@
1$NetBSD: distinfo,v 1.5 2012/03/22 22:40:18 asau Exp $ 1$NetBSD: distinfo,v 1.6 2014/09/25 10:21:57 fhajny Exp $
2 2
3SHA1 (cherokee-1.2.101.tar.gz) = b27f149c7d7111207ac8c3cd8a4856c05490d136 3SHA1 (cherokee-1.2.101.tar.gz) = b27f149c7d7111207ac8c3cd8a4856c05490d136
4RMD160 (cherokee-1.2.101.tar.gz) = dd3dedc352ba17bdcefd8e200143b8ffa19ad035 4RMD160 (cherokee-1.2.101.tar.gz) = dd3dedc352ba17bdcefd8e200143b8ffa19ad035
5Size (cherokee-1.2.101.tar.gz) = 6320209 bytes 5Size (cherokee-1.2.101.tar.gz) = 6320209 bytes
6SHA1 (patch-cherokee_common-internal.h) = 730b67aa0cdf4990686e9529cec3a7fc1ddd90a5 6SHA1 (patch-cherokee_common-internal.h) = 730b67aa0cdf4990686e9529cec3a7fc1ddd90a5
 7SHA1 (patch-configure) = 58a25088320863dd00f4c7d4f050e1c163dbe6f3

File Added: pkgsrc/www/cherokee/patches/Attic/patch-configure
$NetBSD: patch-configure,v 1.1 2014/09/25 10:21:57 fhajny Exp $

SunOS needs definitions from pam_appl.h.
--- configure.orig	2011-10-18 19:38:22.000000000 +0000
+++ configure
@@ -19887,6 +19887,9 @@ fi
 # include <security/pam_modules.h>
 #endif
 
+#ifdef __sun
+# include <security/pam_appl.h>
+#endif
 "
 if test "x$ac_cv_header_security_pam_modules_h" = xyes; then :
   have_pam_include=yes