mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| Patch-Source: https://github.com/gentoo/gentoo/blob/ac511bd4faafe3534b81d5a6d7f685cb8391b1b0/sys-auth/fprintd/files/fprintd-1.90.8_0002-add-configure-option-for-libsystemd-provider.patch
 | |
| --- a/meson.build	2020-12-13 08:08:13.886367478 +0100
 | |
| +++ b/meson.build	2020-12-13 08:30:16.056756878 +0100
 | |
| @@ -84,7 +84,7 @@
 | |
|  libfprint_dep = dependency('libfprint-2', version: '>=' + libfprint_min_version)
 | |
|  polkit_gobject_dep = dependency('polkit-gobject-1', version: '>= 0.91')
 | |
|  dbus_dep = dependency('dbus-1', required: false)
 | |
| -libsystemd_dep = dependency('libsystemd', required: get_option('pam'))
 | |
| +libsystemd_dep = dependency(get_option('libsystemd'), required: get_option('pam'))
 | |
|  pam_dep = cc.find_library('pam',
 | |
|      required: get_option('pam'),
 | |
|      has_headers: 'security/pam_modules.h',
 | |
| --- a/meson_options.txt	2020-12-13 08:08:13.886367478 +0100
 | |
| +++ b/meson_options.txt	2020-12-13 08:26:57.111919403 +0100
 | |
| @@ -10,6 +10,10 @@
 | |
|      description: 'Install system service files',
 | |
|      type: 'boolean',
 | |
|      value: true)
 | |
| +option('libsystemd',
 | |
| +    description: 'Libsystemd provider (libsystemd or libelogind)',
 | |
| +    type: 'string',
 | |
| +    value: 'libsystemd')
 | |
|  option('systemd_system_unit_dir',
 | |
|      description: 'Directory for systemd service files',
 | |
|      type: 'string')
 |