Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Unified Diff: sys-fs/ecryptfs-utils/files/pkgconfig.diff

Issue 3152035: use pkg-config instead of nss-config/nspr-config (Closed) Base URL: http://src.chromium.org/git/portage.git
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sys-fs/ecryptfs-utils/ecryptfs-utils-82.ebuild ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sys-fs/ecryptfs-utils/files/pkgconfig.diff
diff --git a/sys-fs/ecryptfs-utils/files/pkgconfig.diff b/sys-fs/ecryptfs-utils/files/pkgconfig.diff
new file mode 100644
index 0000000000000000000000000000000000000000..e346fd6ce956960f845ca8f3e43c4bf736eb679d
--- /dev/null
+++ b/sys-fs/ecryptfs-utils/files/pkgconfig.diff
@@ -0,0 +1,18 @@
+diff --git a/configure.ac b/configure.ac
+index 2de562f..f9d716d 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -228,10 +228,10 @@ else
+ fi
+
+ #Verify nss
+-NSS_LIBS=`nss-config --libs`
++NSS_LIBS=`pkg-config --libs nss`
+ if test "x${NSS_LIBS}" != "x" ; then
+- NSS_CFLAGS=`nss-config --cflags`
+- NSPR_CFLAGS=`nspr-config --cflags`
++ NSS_CFLAGS=`pkg-config --cflags nss`
++ NSPR_CFLAGS=`pkg-config --cflags nspr`
+ NSS_CFLAGS="${NSS_CFLAGS} -DENABLE_NSS ${NSPR_CFLAGS}"
+ have_nss="yes"
+ else
« no previous file with comments | « sys-fs/ecryptfs-utils/ecryptfs-utils-82.ebuild ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698