1. Toby Inkster
  2. p5-web-id

Commits

Toby Inkster  committed 8b52091

move dynamic config to meta/DYNAMIC_CONFIG.PL

  • Participants
  • Parent commits a419fdb
  • Branches default

Comments (0)

Files changed (2)

File Makefile.PL

-use inc::Module::Package "RDF:tobyink 0.012";
-
-use lib "lib";
-require Web::ID::Util::FindOpenSSL;
-dynamic_config;
-requires "Alien::OpenSSL" => "0.03"
-	unless -x Web::ID::Util::FindOpenSSL::find_openssl();

File meta/DYNAMIC_CONFIG.PL

View file
+	# If we can't find openssl via normal techniques,
+	# add a dependency on Alien::OpenSSL.
+	#
+	use lib "lib";
+	require Web::ID::Util::FindOpenSSL;
+	$meta->{prereqs}{runtime}{requires}{"Alien::OpenSSL"} = "0.03"
+		unless -x Web::ID::Util::FindOpenSSL::find_openssl();