diff options
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/smatch/smatch-1.60.ebuild | 3 | ||||
-rw-r--r-- | sys-devel/smatch/smatch-9999.ebuild | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sys-devel/smatch/smatch-1.60.ebuild b/sys-devel/smatch/smatch-1.60.ebuild index e8505ae64d23..9423f1d108f6 100644 --- a/sys-devel/smatch/smatch-1.60.ebuild +++ b/sys-devel/smatch/smatch-1.60.ebuild @@ -24,6 +24,7 @@ IUSE="" RDEPEND="dev-db/sqlite" DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" S=${WORKDIR}/${P}-7a4fdad @@ -32,6 +33,7 @@ src_prepare() { sed -i \ -e '/^CFLAGS =/{s:=:+=:;s:-O2 -finline-functions:${CPPFLAGS}:}' \ + -e 's:pkg-config:$(PKG_CONFIG):' \ Makefile || die } @@ -43,6 +45,7 @@ _emake() { AR="$(tc-getAR)" \ CC="$(tc-getCC)" \ LD='$(CC)' \ + PKG_CONFIG="$(tc-getPKG_CONFIG)" \ HAVE_GTK2=no \ HAVE_LLVM=no \ HAVE_LIBXML=no \ diff --git a/sys-devel/smatch/smatch-9999.ebuild b/sys-devel/smatch/smatch-9999.ebuild index 4e3cca48e997..8ba49a55ed46 100644 --- a/sys-devel/smatch/smatch-9999.ebuild +++ b/sys-devel/smatch/smatch-9999.ebuild @@ -23,12 +23,14 @@ IUSE="" RDEPEND="dev-db/sqlite" DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" src_prepare() { default sed -i \ -e '/^CFLAGS =/{s:=:+=:;s:-O2 -finline-functions:${CPPFLAGS}:}' \ + -e 's:pkg-config:$(PKG_CONFIG):' \ Makefile || die } @@ -40,6 +42,7 @@ _emake() { AR="$(tc-getAR)" \ CC="$(tc-getCC)" \ LD='$(CC)' \ + PKG_CONFIG="$(tc-getPKG_CONFIG)" \ HAVE_GTK2=no \ HAVE_LLVM=no \ HAVE_LIBXML=no \ |