[PATCH] Makefile should respect $(prefix)

Bug #1877744 reported by .
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
powerstat (Ubuntu)
Fix Released
Medium
Colin Ian King

Bug Description

Hullo,

Thank you for Powerstat. It fills a need that Powertop just doesn't.

While packaging it for GNU Guix, I noticed that the Makefile hard-codes /usr. Here's a simple patch to optionally respect the standard $(prefix) variable instead.

Tags: patch
Revision history for this message
. (nckx) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "0001-Makefile-respect-standard-prefix-variable.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Colin Ian King (colin-king) wrote :

Thank you for your contribution to powerstat. I have applied the patch as follows:

https://kernel.ubuntu.com/git/cking/powerstat.git/commit/?id=b3e620dfb7b1634e92c1bceafc423cc852a52bce

I've uploaded the package into Debian and it will land in Ubuntu in the next 24 hours or so.

Regards,

Colin

Changed in powerstat (Ubuntu):
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → Colin Ian King (colin-king)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package powerstat - 0.02.23-1

---------------
powerstat (0.02.23-1) unstable; urgency=medium

  * Makefile: bump minor version
  * Debian: remove compat, use debhelper-compat in Build-Depends
  * Makefile: respect standard prefix= variable (LP: #1877744)
  * zero the ws struct to clear static analysis warnings

 -- Colin King <email address hidden> Fri, 15 May 2020 23:54:23 +0100

Changed in powerstat (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.