Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 644018

Summary: media-sound/codecgraph: hardcoded PREFIX=/usr in Makefile
Product: Gentoo Linux Reporter: Pengcheng Xu <i>
Component: Current packagesAssignee: Tony Vroon (RETIRED) <chainsaw>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jstein, sound, treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=734574
Whiteboard:
Package list:
Runtime testing required: ---
Deadline: 2020-10-09   

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.