[146565] trunk/dports/gnome/gobject-introspection
jeremyhu at macports.org
jeremyhu at macports.org
Sat Mar 12 01:39:40 PST 2016
Revision: 146565
https://trac.macports.org/changeset/146565
Author: jeremyhu at macports.org
Date: 2016-03-12 01:39:40 -0800 (Sat, 12 Mar 2016)
Log Message:
-----------
gobject-introspection: Don't use /usr/bin/env in the shebang
On El Capitan, SIP will cause DYLD_ envvars to not get passed through
/usr/bin/env to g-ir-scanner. This is often needed at build time to have the
tools find the libraries that were just built. Since we are setting PYTHON to
the full path to python, we don't need to use env here and can just remove it.
Modified Paths:
--------------
trunk/dports/gnome/gobject-introspection/Portfile
Added Paths:
-----------
trunk/dports/gnome/gobject-introspection/files/no-env-shebang.patch
Modified: trunk/dports/gnome/gobject-introspection/Portfile
===================================================================
--- trunk/dports/gnome/gobject-introspection/Portfile 2016-03-12 07:55:26 UTC (rev 146564)
+++ trunk/dports/gnome/gobject-introspection/Portfile 2016-03-12 09:39:40 UTC (rev 146565)
@@ -6,7 +6,7 @@
name gobject-introspection
version 1.46.0
-revision 1
+revision 2
set branch [join [lrange [split ${version} .] 0 1] .]
categories gnome
platforms darwin
@@ -33,7 +33,8 @@
depends_run bin:glibtool:libtool
-patchfiles PR-625195.patch
+patchfiles no-env-shebang.patch \
+ PR-625195.patch
post-patch {
reinplace "s|'cc'|'${configure.cc}'|g" ${worksrcpath}/giscanner/sourcescanner.py
Added: trunk/dports/gnome/gobject-introspection/files/no-env-shebang.patch
===================================================================
--- trunk/dports/gnome/gobject-introspection/files/no-env-shebang.patch (rev 0)
+++ trunk/dports/gnome/gobject-introspection/files/no-env-shebang.patch 2016-03-12 09:39:40 UTC (rev 146565)
@@ -0,0 +1,8 @@
+--- tools/g-ir-tool-template.in.orig 2015-07-18 06:27:49.000000000 -0700
++++ tools/g-ir-tool-template.in 2016-03-12 01:29:38.000000000 -0800
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env @PYTHON@
++#!@PYTHON@
+ # -*- Mode: Python -*-
+ # GObject-Introspection - a framework for introspecting GObject libraries
+ # Copyright (C) 2008 Johan Dahlin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160312/d4fc5fa9/attachment.html>
More information about the macports-changes
mailing list