[153872] trunk/dports/gnome/gnotify
devans at macports.org
devans at macports.org
Fri Oct 14 21:57:11 CEST 2016
Revision: 153872
https://trac.macports.org/changeset/153872
Author: devans at macports.org
Date: 2016-10-14 12:57:11 -0700 (Fri, 14 Oct 2016)
Log Message:
-----------
gnotify: build fix, reconfigure using autogen.sh rather than trying to replace missing automake files, correct dependencies.
Modified Paths:
--------------
trunk/dports/gnome/gnotify/Portfile
Added Paths:
-----------
trunk/dports/gnome/gnotify/files/patch-autogen.sh.diff
Removed Paths:
-------------
trunk/dports/gnome/gnotify/files/patch_Makefile.in
Modified: trunk/dports/gnome/gnotify/Portfile
===================================================================
--- trunk/dports/gnome/gnotify/Portfile 2016-10-14 19:48:22 UTC (rev 153871)
+++ trunk/dports/gnome/gnotify/Portfile 2016-10-14 19:57:11 UTC (rev 153872)
@@ -16,17 +16,21 @@
platforms darwin
homepage http://gnotify.sf.net
master_sites sourceforge
-checksums md5 6e7a031a5b1e9b12ac04992ccbf71627
-patchfiles patch_Makefile.in
+
depends_build port:pkgconfig \
- port:automake
+ port:autoconf \
+ port:automake \
+ port:libtool
-depends_lib bin:gnome-session:gnome-session
-post-patch {
- foreach tool [glob -directory ${prefix}/share automake-*/{install-sh,mkinstalldirs,missing}] {
- file copy -force $tool ${worksrcpath}
- }
-}
+depends_lib port:gtk2 \
+ port:gettext \
+ port:libxml2
+checksums md5 6e7a031a5b1e9b12ac04992ccbf71627
+
+patchfiles patch-autogen.sh.diff
+
+configure.cmd ./autogen.sh
+
livecheck.url http://sourceforge.net/projects/${name}/files/${name}/
livecheck.regex "(?i)${name} (\\d+(?:\\.\\d+)*)"
Added: trunk/dports/gnome/gnotify/files/patch-autogen.sh.diff
===================================================================
--- trunk/dports/gnome/gnotify/files/patch-autogen.sh.diff (rev 0)
+++ trunk/dports/gnome/gnotify/files/patch-autogen.sh.diff 2016-10-14 19:57:11 UTC (rev 153872)
@@ -0,0 +1,22 @@
+--- autogen.sh.orig 2004-08-31 04:35:18.000000000 -0700
++++ autogen.sh 2016-10-14 12:34:22.000000000 -0700
+@@ -15,7 +15,7 @@
+ }
+
+ (grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && {
+- (libtool --version) < /dev/null > /dev/null 2>&1 || {
++ (glibtool --version) < /dev/null > /dev/null 2>&1 || {
+ echo
+ echo "**Error**: You must have \`libtool' installed."
+ echo "Get ftp://ftp.gnu.org/pub/gnu/"
+@@ -98,8 +98,8 @@
+ test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4
+ fi
+ if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then
+- echo "Running libtoolize..."
+- libtoolize --force --copy
++ echo "Running glibtoolize..."
++ glibtoolize --force --copy
+ fi
+ echo "Running aclocal $aclocalinclude ..."
+ aclocal $aclocalinclude
Deleted: trunk/dports/gnome/gnotify/files/patch_Makefile.in
===================================================================
--- trunk/dports/gnome/gnotify/files/patch_Makefile.in 2016-10-14 19:48:22 UTC (rev 153871)
+++ trunk/dports/gnome/gnotify/files/patch_Makefile.in 2016-10-14 19:57:11 UTC (rev 153872)
@@ -1,13 +0,0 @@
---- Makefile.in.org Mon May 31 09:30:10 2004
-+++ Makefile.in Mon May 31 09:30:12 2004
-@@ -183,6 +183,10 @@
- cd $(top_srcdir) && $(AUTOHEADER)
- @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
-
-+COPYING:
-+
-+INSTALL:
-+
- mostlyclean-hdr:
-
- clean-hdr:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161014/00ba7402/attachment-0002.html>
More information about the macports-changes
mailing list