[packages/gcc] - make sure _pkgconfigdir exists (it didn't in some bcond combinations)

arekm arekm at pld-linux.org
Mon Feb 18 12:02:04 CET 2013


commit 13c5241194bf74a40a8ee690c6004016ccbc2976
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Feb 18 12:02:02 2013 +0100

    - make sure _pkgconfigdir exists (it didn't in some bcond combinations)

 gcc.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gcc.spec b/gcc.spec
index 9fe754e..1596c2f 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1757,6 +1757,7 @@ ln -sf libgcj-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/libgcj.jar
 
 # still not installed by gcc?
 [ ! -f $RPM_BUILD_ROOT%{_pkgconfigdir}/libffi.pc ] || exit 1
+install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
 sed -e 's, at prefix@,%{_prefix},
 	s, at exec_prefix@,%{_exec_prefix},
 	s, at libdir@,%{_libdir},
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gcc.git/commitdiff/13c5241194bf74a40a8ee690c6004016ccbc2976



More information about the pld-cvs-commit mailing list