Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644018 - media-sound/codecgraph: hardcoded PREFIX=/usr in Makefile
Summary: media-sound/codecgraph: hardcoded PREFIX=/usr in Makefile
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2020-10-09
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2018-01-09 14:49 UTC by Pengcheng Xu
Modified: 2020-10-09 07:45 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pengcheng Xu 2018-01-09 14:49:23 UTC
diff -uNr codecgraph-20120114.ORIG/Makefile codecgraph-20120114/Makefile
--- codecgraph-20120114.ORIG/Makefile	2012-04-20 11:46:16.585852026 +0100
+++ codecgraph-20120114/Makefile	2012-04-20 11:46:50.730851052 +0100
@@ -1,4 +1,4 @@
-PREFIX = /usr/local
+PREFIX = /usr
 DOTTY = dot
 
 samples = \
@@ -87,7 +87,7 @@
 install:
 	install -m755 -D codecgraph $(DESTDIR)$(PREFIX)/bin/codecgraph
 	install -m755 -D codecgraph.py $(DESTDIR)$(PREFIX)/bin/codecgraph.py
-	install -m644 -D codecgraph.1 $(DESTDIR)$(PREFIX)/man/man1/codecgraph.1
+	install -m644 -D codecgraph.1 $(DESTDIR)$(PREFIX)/share/man/man1/codecgraph.1
 
 thumbs: png
 	for p in $(pngfiles);do \
 

the above patch in files/ hardcodes /usr as the prefix, yet this should be ${EPREFIX}/usr (to behave well on Gentoo Prefix).
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-10-09 07:45:48 UTC
Package removed.