[126802] trunk/dports/lang/gcl

jmr at macports.org jmr at macports.org
Wed Oct 15 08:17:05 PDT 2014


Revision: 126802
          https://trac.macports.org/changeset/126802
Author:   jmr at macports.org
Date:     2014-10-15 08:17:05 -0700 (Wed, 15 Oct 2014)
Log Message:
-----------
gcl: update to 2.6.11 (fixes build failure, #12906)

Modified Paths:
--------------
    trunk/dports/lang/gcl/Portfile

Removed Paths:
-------------
    trunk/dports/lang/gcl/files/

Modified: trunk/dports/lang/gcl/Portfile
===================================================================
--- trunk/dports/lang/gcl/Portfile	2014-10-15 15:07:24 UTC (rev 126801)
+++ trunk/dports/lang/gcl/Portfile	2014-10-15 15:17:05 UTC (rev 126802)
@@ -4,8 +4,7 @@
 PortSystem          1.0
 
 name                gcl
-version             2.6.7
-revision            1
+version             2.6.11
 categories          lang
 license             GPL-2+
 platforms           darwin
@@ -23,47 +22,35 @@
                     port:readline
 
 master_sites        gnu
-checksums           md5 c0f42e1f391162e5ac90912a70e8ecc3 \
-                    sha1 d54f7db5dbd9f49953f80259a5eb44ade65027b5
+checksums           rmd160 f418727ea814287e03d5c8313206f51e21133813 \
+                    sha256 44058f029a631e8ebae38c6c5a25e2f986b5bfdd8e6283b32d7e56723efafb9c
+worksrcdir          ${name}
 
-patchfiles          configure.diff \
-                    sbrk.diff
-if {${os.major} >= 9 && ${os.platform} eq {darwin}} {
-    patchfiles-append stack_t.diff
-}
-
 post-patch {
-    reinplace "s|/sw|${prefix}|g" h/powerpc-macosx.defs
     reinplace "s|/usr/local/lib|${prefix}/share|g" info/makefile
-    reinplace "s|/usr/share|${prefix}/share|g" configure
 }
 
-configure.args      --disable-locbfd \
-                    --disable-notify \
+configure.cflags-append -std=gnu89
+configure.args      --disable-notify \
                     --disable-statsysbfd \
                     --enable-ansi \
                     --enable-custreloc \
                     --enable-emacsdir=${prefix}/share/emacs/site-lisp/gcl \
                     --enable-infodir=${prefix}/share/info \
-                    --enable-machine=powerpc-macosx \
                     --enable-readline \
-                    --infodir=${prefix}/share/info \
-                    --mandir=${prefix}/share/man \
-                    --without-x
+                    --without-x \
+                    --disable-xgcl
 
-if {${build_arch} eq {x86_64} && ${os.platform} eq {darwin}} {
-    set target ${build_arch}-apple-${os.platform}${os.version}
-    configure.args-append --build=${target} \
-                          --host=${target}
-}
-
 post-configure {
     reinplace "s|./default.el|${prefix}/etc/default.el|g" makedefs makedefc
-    reinplace "s|/usr/share|${prefix}/share|g" makedefs makedefc
 }
 
 use_parallel_build no
 
 variant x11 {
-    configure.args-replace --without-x --with-x
+    depends_lib-append  port:xorg-libX11
+    configure.args-delete --without-x --disable-xgcl
+    configure.args-append --with-x --enable-xgcl \
+                          --x-includes=${prefix}/include \
+                          --x-libraries=${prefix}/lib
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141015/89753328/attachment.html>


More information about the macports-changes mailing list