[46318] trunk/dports/x11/xorg-libXfont/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Mon Feb 2 10:16:59 PST 2009


Revision: 46318
          http://trac.macports.org/changeset/46318
Author:   jeremyhu at macports.org
Date:     2009-02-02 10:16:59 -0800 (Mon, 02 Feb 2009)
Log Message:
-----------
xorg-libXfont: Set LT_MULTI_MODULE since newer libtool add -Wl,-single_module to break our build.

Modified Paths:
--------------
    trunk/dports/x11/xorg-libXfont/Portfile

Modified: trunk/dports/x11/xorg-libXfont/Portfile
===================================================================
--- trunk/dports/x11/xorg-libXfont/Portfile	2009-02-02 14:52:13 UTC (rev 46317)
+++ trunk/dports/x11/xorg-libXfont/Portfile	2009-02-02 18:16:59 UTC (rev 46318)
@@ -4,6 +4,7 @@
 
 name		xorg-libXfont
 version		1.3.4
+revision	1
 categories	x11 devel
 maintainers	jeremyhu openmaintainer
 description	X.org libXfont
@@ -17,9 +18,14 @@
                     sha1    d7782b506f82cfce928c8be35be859c18f1e852f \
                     rmd160  81d2be307219f6550793fb8c1661624e6bbbf55d
 use_bzip2	yes
+
 use_parallel_build  yes
 
 depends_build \
+	port:libtool \
+	port:autoconf \
+	port:automake \
+	port:xorg-util-macros \
 	port:pkgconfig \
 	port:xorg-fontcacheproto \
 	port:xorg-fontsproto \
@@ -36,11 +42,16 @@
 
 patchfiles f2b116ce5205d0fb8247f76fddb072e9141c62b7.patch
 
+use_autoreconf yes
+autoreconf.args -fvi
+
+# Newer libtool add -Wl,-single_module if this isn't set... breaking us
+configure.env LT_MULTI_MODULE=1
+
 livecheck.check regex
 livecheck.url   [lindex ${master_sites} 0]?C=M&O=D
 livecheck.regex libXfont-(\\d+(?:\\.\\d+)*)
 
-
 variant system_x11 description {Install a stub package to use the system X11 libraries rather than MacPorts} {
 	if { [file exists ${x11prefix}/lib/libXfont.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
 		depends_build
@@ -55,6 +66,7 @@
 			xinstall -d ${destroot}${prefix}/share/doc/${name}
 			system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
 		}
+		use_autoreconf no
 		use_configure no
 	}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090202/324eb930/attachment.html>


More information about the macports-changes mailing list