From e7285a993fca5c5591de0d7c2cba82a05af9d831 Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 18 May 2010 13:08:39 +0000 Subject: [PATCH] Take advantage of mozilla-plugin.pc if available, this should fix the archlinux plugin trouble --- makepanda/makepanda.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 31f4103722..06ced744a1 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -512,9 +512,9 @@ if (COMPILER=="LINUX"): SmartPkgEnable("WX", tool = "wx-config") if (RUNTIME): if (sys.platform.startswith("freebsd")): - SmartPkgEnable("NPAPI", "", (), ("xulrunner", "nspr*/prtypes.h", "nspr*")) + SmartPkgEnable("NPAPI", "mozilla-plugin", (), ("xulrunner", "nspr*/prtypes.h", "nspr*")) else: - SmartPkgEnable("NPAPI", "", (), ("xulrunner-*/stable", "xulrunner-*/stable/npapi.h", "nspr*/prtypes.h", "nspr*")) + SmartPkgEnable("NPAPI", "mozilla-plugin", (), ("xulrunner-*/stable", "xulrunner-*/stable/npapi.h", "nspr*/prtypes.h", "nspr*")) if (sys.platform != "darwin"): # CgGL is covered by the Cg framework, and we don't need X11 components on OSX if (PkgSkip("NVIDIACG")==0 and not RUNTIME):