Unix/Linux Go Back    

Linux 2.6 - man page for dpkg::buildflags (linux section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

Dpkg::BuildFlags(3)			   libdpkg-perl 		      Dpkg::BuildFlags(3)

       Dpkg::BuildFlags - query build flags

       The Dpkg::BuildFlags object is used by dpkg-buildflags and can be used to query the same

       my $bf = Dpkg::BuildFlags->new()
	   Create a new Dpkg::BuildFlags object. It will be initialized based on the value of
	   several configuration files and environment variables.

	   Reset the flags stored to the default set provided by the vendor.

	   Update flags from the system configuration.

	   Update flags from the user configuration.

	   Update flags based on directives stored in the environment. See dpkg-buildflags(1) for

	   Call successively load_system_config(), load_user_config() and
	   load_environment_config() to update the default build flags defined by the vendor.

       $bf->set($flag, $value, $source)
	   Update the build flag $flag with value $value and record its origin as $source.

       $bf->append($flag, $value, $source)
	   Append the options listed in $value to the current value of the flag $flag.	Record
	   its origin as $source.

       $bf->update_from_conffile($file, $source)
	   Update the current build flags based on the configuration directives contained in
	   $file. See dpkg-buildflags(1) for the format of the directives.

	   $source is the origin recorded for any build flag set or modified.

	   Return the value associated to the flag. It might be undef if the flag doesn't exist.

	   Return the origin associated to the flag. It might be undef if the flag doesn't exist.

	   Returns a boolean indicating whether the flags exists in the object.

       my @flags = $bf->list()
	   Returns the list of flags stored in the object.

       Raphael Hertzog <hertzog@debian.org>				    2012-04-17			      Dpkg::BuildFlags(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 10:17 PM.