{"action":"created","issue":{"url":"https://api.github.com/repos/pali/udftools/issues/15","repository_url":"https://api.github.com/repos/pali/udftools","labels_url":"https://api.github.com/repos/pali/udftools/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/pali/udftools/issues/15/comments","events_url":"https://api.github.com/repos/pali/udftools/issues/15/events","html_url":"https://github.com/pali/udftools/pull/15","id":307727970,"number":15,"title":"Use libdir variable in pktsetup Makefile","user":{"login":"kyrios123","id":7815316,"avatar_url":"https://avatars3.githubusercontent.com/u/7815316?v=4","gravatar_id":"","url":"https://api.github.com/users/kyrios123","html_url":"https://github.com/kyrios123","followers_url":"https://api.github.com/users/kyrios123/followers","following_url":"https://api.github.com/users/kyrios123/following{/other_user}","gists_url":"https://api.github.com/users/kyrios123/gists{/gist_id}","starred_url":"https://api.github.com/users/kyrios123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyrios123/subscriptions","organizations_url":"https://api.github.com/users/kyrios123/orgs","repos_url":"https://api.github.com/users/kyrios123/repos","events_url":"https://api.github.com/users/kyrios123/events{/privacy}","received_events_url":"https://api.github.com/users/kyrios123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-22T16:50:17Z","updated_at":"2018-03-23T15:20:36Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/pali/udftools/pulls/15","html_url":"https://github.com/pali/udftools/pull/15","diff_url":"https://github.com/pali/udftools/pull/15.diff","patch_url":"https://github.com/pali/udftools/pull/15.patch"},"body":"I use `/usr/lib64` so it would be nice to use $(libdir) instead of using a hardcoded `/lib` value in the Makefile"},"comment":{"url":"https://api.github.com/repos/pali/udftools/issues/comments/375700437","html_url":"https://github.com/pali/udftools/pull/15#issuecomment-375700437","issue_url":"https://api.github.com/repos/pali/udftools/issues/15","id":375700437,"user":{"login":"kyrios123","id":7815316,"avatar_url":"https://avatars3.githubusercontent.com/u/7815316?v=4","gravatar_id":"","url":"https://api.github.com/users/kyrios123","html_url":"https://github.com/kyrios123","followers_url":"https://api.github.com/users/kyrios123/followers","following_url":"https://api.github.com/users/kyrios123/following{/other_user}","gists_url":"https://api.github.com/users/kyrios123/gists{/gist_id}","starred_url":"https://api.github.com/users/kyrios123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyrios123/subscriptions","organizations_url":"https://api.github.com/users/kyrios123/orgs","repos_url":"https://api.github.com/users/kyrios123/repos","events_url":"https://api.github.com/users/kyrios123/events{/privacy}","received_events_url":"https://api.github.com/users/kyrios123/received_events","type":"User","site_admin":false},"created_at":"2018-03-23T15:20:36Z","updated_at":"2018-03-23T15:20:36Z","author_association":"NONE","body":"Hi,\r\n\r\nI made a test locally on the udftools 2.0 tarball \r\n\r\nI added this in the **configure.ac** (your code without the `m4_include()`)\r\n```\r\nPKG_PROG_PKG_CONFIG\r\nPKG_CHECK_MODULES(UDEV, [udev], [ac_cv_udevdir=`$PKG_CONFIG --variable=udevdir udev`])\r\nAC_SUBST(UDEVDIR, $ac_cv_udevdir)\r\n```\r\nthe **Makefile.am** looks like this\r\n```\r\nsbin_PROGRAMS = pktsetup\r\npktsetup_SOURCES = pktsetup.c\r\nEXTRA_DIST = pktsetup.rules\r\n\r\ninstall-data-local:\r\n\tmkdir -p \"$(DESTDIR)$(UDEVDIR)/rules.d\"\r\n\t$(INSTALL_DATA) \"$(srcdir)/pktsetup.rules\" \"$(DESTDIR)$(UDEVDIR)/rules.d/80-pktsetup.rules\"\r\n\r\nuninstall-local:\r\n\trm -f \"$(DESTDIR)$(UDEVDIR)/rules.d/80-pktsetup.rules\"\r\n```\r\nand \r\n\r\n\r\nHere is how my **libudev.pc** looks like\r\n```\r\n#  This file is part of systemd.\r\n#\r\n#  systemd is free software; you can redistribute it and/or modify it\r\n#  under the terms of the GNU Lesser General Public License as published by\r\n#  the Free Software Foundation; either version 2.1 of the License, or\r\n#  (at your option) any later version.\r\n\r\nprefix=/usr\r\nexec_prefix=/usr\r\nlibdir=/usr/lib64\r\nincludedir=/usr/include\r\n\r\nName: libudev\r\nDescription: Library to access udev device information\r\nVersion: 235\r\nLibs: -L${libdir} -ludev\r\nCflags: -I${includedir}\r\n```\r\n\r\nThere is no error but the udev rules aren't installed under `/usr/lib64` !?\r\n`/usr/lib/udev/rules.d/80-pktsetup.rules`"}}
{"actor":{"display_login":"kyrios123"}}