[141862] trunk/dports/print/pslib

ryandesign at macports.org ryandesign at macports.org
Sat Dec 12 03:19:28 PST 2015


Revision: 141862
          https://trac.macports.org/changeset/141862
Author:   ryandesign at macports.org
Date:     2015-10-29 16:46:25 -0700 (Thu, 29 Oct 2015)
Log Message:
-----------
pslib: reconfigure using autogen.sh for intltool 0.51 compatibility

Modified Paths:
--------------
    trunk/dports/print/pslib/Portfile

Added Paths:
-----------
    trunk/dports/print/pslib/files/patch-autogen.sh.diff

Modified: trunk/dports/print/pslib/Portfile
===================================================================
--- trunk/dports/print/pslib/Portfile	2015-10-29 23:14:56 UTC (rev 141861)
+++ trunk/dports/print/pslib/Portfile	2015-10-29 23:46:25 UTC (rev 141862)
@@ -25,15 +25,26 @@
                             sha1   2ad904b650b7d55b7c12be0c99f77073770ece56  \
                             rmd160 8400b078bd643325109e988df7971e0eb164f492 
 
-depends_build               port:intltool
+depends_build               port:autoconf \
+                            port:automake \
+                            port:intltool \
+                            port:libtool
 
 depends_lib                 port:libpng \
                             port:jpeg \
                             port:giflib \
                             port:tiff
 
+post-extract {
+    move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
+}
+
+patchfiles-append           patch-autogen.sh.diff
 patchfiles-append           yosemite-libtool.patch
 
+use_autoreconf              yes
+autoreconf.cmd              ./autogen.sh
+
 configure.args-append       --with-png=${prefix} \
                             --with-jpeg=${prefix} \
                             --with-gif=${prefix} \

Added: trunk/dports/print/pslib/files/patch-autogen.sh.diff
===================================================================
--- trunk/dports/print/pslib/files/patch-autogen.sh.diff	                        (rev 0)
+++ trunk/dports/print/pslib/files/patch-autogen.sh.diff	2015-10-29 23:46:25 UTC (rev 141862)
@@ -0,0 +1,16 @@
+--- autogen.sh.orig	2009-11-20 14:14:02.000000000 -0600
++++ autogen.sh	2015-10-29 18:40:58.000000000 -0500
+@@ -15,7 +15,12 @@
+ 	chmod 755 ${i}
+ done
+ 
+-libtoolize --force --copy
++if [ "$(uname -s)" == "Darwin" ]; then
++  LIBTOOLIZE=glibtoolize
++else 
++  LIBTOOLIZE=libtoolize
++fi
++$LIBTOOLIZE --force --copy
+ aclocal
+ autoheader
+ automake --verbose --force --copy --add-missing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/dacb25b9/attachment.html>


More information about the macports-changes mailing list