[104803] trunk/dports/gnome/libunique/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Tue Apr 2 15:33:56 PDT 2013
Revision: 104803
https://trac.macports.org/changeset/104803
Author: jeremyhu at macports.org
Date: 2013-04-02 15:33:55 -0700 (Tue, 02 Apr 2013)
Log Message:
-----------
libunique: Enable support for gobject-introspection
Modified Paths:
--------------
trunk/dports/gnome/libunique/Portfile
Modified: trunk/dports/gnome/libunique/Portfile
===================================================================
--- trunk/dports/gnome/libunique/Portfile 2013-04-02 22:33:41 UTC (rev 104802)
+++ trunk/dports/gnome/libunique/Portfile 2013-04-02 22:33:55 UTC (rev 104803)
@@ -5,7 +5,7 @@
name libunique
version 1.1.6
-revision 5
+revision 6
set branch [join [lrange [split ${version} .] 0 1] .]
description Unique is a library for writing single instance applications.
long_description \
@@ -31,13 +31,17 @@
depends_lib port:gtk2 \
port:dbus-glib \
+ port:gobject-introspection \
port:xorg-libX11
configure.args --enable-maintainer-flags=no \
--x-includes=${prefix}/include \
--x-libraries=${prefix}/lib \
- --enable-introspection=no
-
+ --enable-introspection
+
+# gobject-introspection uses g-ir-scanner, which uses $CC from env
+build.args-append CC="${configure.cc} ${configure.cc_archflags}"
+
variant no_x11 description {Disable X11 support} {
depends_lib-delete port:xorg-libX11
configure.args-delete --x-includes=${prefix}/include \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130402/a84e97e9/attachment.html>
More information about the macports-changes
mailing list