[85521] trunk/dports/devel/libnotify/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Thu Oct 13 22:27:59 PDT 2011


Revision: 85521
          http://trac.macports.org/changeset/85521
Author:   jeremyhu at macports.org
Date:     2011-10-13 22:27:58 -0700 (Thu, 13 Oct 2011)
Log Message:
-----------
Require 10.7.2, undo the rename hack

Modified Paths:
--------------
    trunk/dports/devel/libnotify/Portfile

Modified: trunk/dports/devel/libnotify/Portfile
===================================================================
--- trunk/dports/devel/libnotify/Portfile	2011-10-14 05:23:11 UTC (rev 85520)
+++ trunk/dports/devel/libnotify/Portfile	2011-10-14 05:27:58 UTC (rev 85521)
@@ -32,22 +32,13 @@
     patchfiles-append   patch-libnotify-notification-c.diff
 }
 
-# libnotify normally installs as ${prefix}/lib/libnotify.dylib. On
-# Lion, this gets picked up at link time instead of
-# /usr/lib/system/libnotify.dylib leading to many build failures
-# across MacPorts when it is installed. Therefore, rename the library
-# to libnotify_gnome and update the pkgconfig file accordingly.
-post-patch {
-    foreach x {libnotify/Makefile.am tools/Makefile.am tests/Makefile.am} {
-        reinplace {s/libnotify\.la/libnotify_gnome\.la/g} ${worksrcpath}/${x}
-        reinplace {s/libnotify_la/libnotify_gnome_la/g} ${worksrcpath}/${x}
-    }
-
-    reinplace {s/-lnotify/-lnotify_gnome/g} ${worksrcpath}/libnotify.pc.in
+pre-activate {
+	if {${os.major} == 11 && ${os.minor} < 2} {
+		ui_error "You must first update to OS X 10.7.2."
+		return -code error "You must first update to OS X 10.7.2."
+	}
 }
 
-use_autoreconf      yes
-
 livecheck.type      regex
 livecheck.url       http://ftp.gnome.org/pub/GNOME/sources/${name}/${branch}/
 livecheck.regex     ${name}-(\[0-9.\]+)\\.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111013/7ad5567c/attachment.html>


More information about the macports-changes mailing list