[packages/mmm] - pass PREFIX to build to generate proper includedir in .pc file

qboosh qboosh at pld-linux.org
Mon Nov 23 21:02:17 CET 2015


commit 1c0f680ef717a406c42728c536d853fa7ffa0ba9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Nov 23 21:02:41 2015 +0100

    - pass PREFIX to build to generate proper includedir in .pc file

 mmm.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/mmm.spec b/mmm.spec
index 637dfaf..8e0af3e 100644
--- a/mmm.spec
+++ b/mmm.spec
@@ -78,6 +78,7 @@ LD_FLAGS="%{rpmldflags}" \
 %{__make} \
 	CC="%{__cc}" \
 	LD="%{__cc}" \
+	PREFIX=%{_prefix} \
 	LIBDIR=%{_libdir}
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mmm.git/commitdiff/1c0f680ef717a406c42728c536d853fa7ffa0ba9



More information about the pld-cvs-commit mailing list