[71767] trunk/dports/gnome/oregano
devans at macports.org
devans at macports.org
Wed Sep 22 14:45:06 PDT 2010
Revision: 71767
http://trac.macports.org/changeset/71767
Author: devans at macports.org
Date: 2010-09-22 14:45:05 -0700 (Wed, 22 Sep 2010)
Log Message:
-----------
oregano: add missing patch file.
Added Paths:
-----------
trunk/dports/gnome/oregano/files/
trunk/dports/gnome/oregano/files/patch-SConstruct.diff
Added: trunk/dports/gnome/oregano/files/patch-SConstruct.diff
===================================================================
--- trunk/dports/gnome/oregano/files/patch-SConstruct.diff (rev 0)
+++ trunk/dports/gnome/oregano/files/patch-SConstruct.diff 2010-09-22 21:45:05 UTC (rev 71767)
@@ -0,0 +1,20 @@
+--- SConstruct.orig 2010-09-22 13:33:51.000000000 -0700
++++ SConstruct 2010-09-22 13:34:44.000000000 -0700
+@@ -27,7 +27,7 @@
+ def CheckPkg (context, pkg, version):
+ msg = 'Checking for pkg %s >= %s ... ' % (pkg, version)
+ context.Message (' %-60s ' % (msg));
+- result = os.system ('pkg-config --exists \'%s >= %s\'' % (pkg, version) );
++ result = os.system ('@MP_PREFIX@/bin/pkg-config --exists \'%s >= %s\'' % (pkg, version) );
+ if result == 0:
+ result = 'yes';
+ else:
+@@ -91,7 +91,7 @@
+
+ # Create compiler command line from dependencies #
+ for dep in deps:
+- CEnv.ParseConfig ('pkg-config --cflags --libs '+dep['lib']);
++ CEnv.ParseConfig ('@MP_PREFIX@/bin/pkg-config --cflags --libs '+dep['lib']);
+
+ # Configure environment #
+ DataDir = CEnv['PREFIX']+'/share'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100922/6bcb84c7/attachment-0001.html>
More information about the macports-changes
mailing list