Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:sbrabec:branches:OBS_Maintained:nut
nut.openSUSE_Leap_42.1_Update
nut-systemd-dirs.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nut-systemd-dirs.patch of Package nut.openSUSE_Leap_42.1_Update
Index: nut-2.6.5/configure.in =================================================================== --- nut-2.6.5.orig/configure.in +++ nut-2.6.5/configure.in @@ -986,9 +986,13 @@ dnl Override installation directory, wit dnl prefix. This is needed for 'distcheck*' targets, otherwise dnl files will try to get intalled to the actual system directories if test -n "${systemdsystemunitdir}"; then - systemdsystemshutdowndir="${libdir}/systemd/system-shutdown" + systemdutildir=`$PKG_CONFIG --variable=systemdutildir systemd` + if test -n "${systemdutildir}"; then + systemdsystemshutdowndir="${systemdutildir}/system-shutdown" + else + systemdsystemshutdowndir="${systemdsystemunitdir}/system-shutdown" + fi AC_MSG_RESULT(using ${systemdsystemunitdir}) - systemdsystemunitdir="`echo ${systemdsystemunitdir} | sed 's/\/lib/\${libdir}/'`" else AC_MSG_RESULT(no) fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor