# $FreeBSD: head/security/p5-Net-SAML/Makefile 363374 2014-07-29 19:11:51Z adamw $
PORTNAME= Net-SAML
PORTVERSION= 1.18
PORTVERSION= 1.22
CATEGORIES= security perl5
MASTER_SITES= http://zxid.org/ \
CPAN
SHA256 (zxid-1.18.tgz) = 80cd65e0fd45d61cbf4f0a0e46c11f8dc7752979676d00ce89719ce3497ec393
SHA256 (zxid-1.22.tgz) = fcef4f1fc7f3c26ebb8eaffb03494c82c71f807ba02993014535aca69f767a49
SIZE (zxid-1.18.tgz) = 2075055
SIZE (zxid-1.22.tgz) = 2102806
--- Makefile.PL.orig 2014-11-06 12:21:33 UTC
+++ Makefile.PL
@@ -3,7 +3,7 @@
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => "Net::SAML",
- INC => '-I..',
+ INC => '-I.. -I/usr/local/include',
LIBS => ["-L.. -lzxid -lcrypto -lcurl -ldl -lz"],
OBJECT => "SAML_wrap.o"
);
--- SAML_wrap.c.orig 2014-11-06 12:22:29 UTC
+++ SAML_wrap.c
@@ -1442,7 +1442,9 @@ SWIG_Perl_SetModule(swig_module_info *mo
#undef eof
#endif
#ifdef bool
- #undef bool
+ #ifndef __bool_true_false_are_defined
+ #undef bool
+ #endif
#ifdef close
#undef close