[135636] trunk/dports/multimedia/libgpod

devans at macports.org devans at macports.org
Tue Apr 28 07:52:21 PDT 2015


Revision: 135636
          https://trac.macports.org/changeset/135636
Author:   devans at macports.org
Date:     2015-04-28 07:52:21 -0700 (Tue, 28 Apr 2015)
Log Message:
-----------
libgpod: reconfigure using upstream autogen.sh for intltool 0.51 compatibility, minimize compiler warnings.

Modified Paths:
--------------
    trunk/dports/multimedia/libgpod/Portfile

Added Paths:
-----------
    trunk/dports/multimedia/libgpod/files/autogen.sh

Modified: trunk/dports/multimedia/libgpod/Portfile
===================================================================
--- trunk/dports/multimedia/libgpod/Portfile	2015-04-28 14:18:56 UTC (rev 135635)
+++ trunk/dports/multimedia/libgpod/Portfile	2015-04-28 14:52:21 UTC (rev 135636)
@@ -24,8 +24,13 @@
 checksums           rmd160  96a2b0e48c0af6ecc62fc4aba4e38e8d0579c6cd \
                     sha256  638a7959d04e95f1e62abad02bd33702e4e8dfef98485ac7d9d50395c37e955d
 
-depends_build       path:bin/pkg-config:pkgconfig \
-                    port:intltool
+depends_build       port:pkgconfig \
+                    port:intltool \
+                    port:gtk-doc \
+                    port:gnome-common \
+                    port:autoconf \
+                    port:automake \
+                    port:libtool
 
 depends_lib         port:libplist \
                     port:libpng \
@@ -36,14 +41,13 @@
 patchfiles-append   patch-bindings-python-gpod.i.in.diff
 patchfiles-append   patch-tools-generic-callout.c.diff
 
-# update m4/intltool.m4 and autoreconf
+# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
 
-pre-configure {
-    copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4
+post-patch {
+    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
 }
 
-use_autoreconf      yes
-autoreconf.args     -fvi
+configure.cmd       ./autogen.sh
 
 # make sure to not use already-installed files,
 # to the best of our ability
@@ -82,6 +86,7 @@
 }
 
 configure.args-append \
+                    --disable-more-warnings \
                     --disable-silent-rules \
                     --disable-udev
 

Added: trunk/dports/multimedia/libgpod/files/autogen.sh
===================================================================
--- trunk/dports/multimedia/libgpod/files/autogen.sh	                        (rev 0)
+++ trunk/dports/multimedia/libgpod/files/autogen.sh	2015-04-28 14:52:21 UTC (rev 135636)
@@ -0,0 +1,14 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="libgpod"
+
+(test -f $srcdir/configure.ac) || {
+    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+    echo " top-level $PKG_NAME directory"
+    exit 1
+}
+REQUIRED_AUTOMAKE_VERSION=1.7 . gnome-autogen.sh "$@"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150428/3243ffc4/attachment.html>


More information about the macports-changes mailing list