Changeset 99364


Ignore:
Timestamp:
Nov 3, 2012, 8:12:56 AM (12 years ago)
Author:
jmr@…
Message:

openmotif: update to 2.3.4

Location:
trunk/dports/x11/openmotif
Files:
1 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/x11/openmotif/Portfile

    r97300 r99364  
    44
    55name            openmotif
    6 version         2.3.3
    7 revision        1
    8 set branch      [join [lrange [split ${version} .] 0 1] .]
    9 set subdir      [lindex [split ${version} -] 0]
    10 worksrcdir      ${name}-${subdir}
     6version         2.3.4
    117categories      x11
    12 license         Restrictive
     8license         LGPL
    139platforms       darwin
    1410maintainers     nomaintainer
     
    1915    the original OSF sources.
    2016
    21 homepage        http://www.motifzone.net/
     17homepage        http://motif.ics.com/
    2218conflicts       lesstif
    23 master_sites    http://ftp.ics.com/openmotif/${branch}/${subdir}/ \
    24                 ftp://ftp.ics.com/openmotif/${branch}/${subdir}/
    25 fetch.use_epsv  no
     19master_sites    sourceforge:project/motif/Motif%20${version}%20Source%20Code
     20distname        motif-${version}-src
     21extract.suffix  .tgz
    2622
    27 checksums           sha1    2a51e2f28078c4db7ff0c8517eb257001716b699 \
    28                     rmd160  015323e212e91ea3beaf039593de5ba75b01e4a6 \
    29                     sha256  c85f5545e218fa0c59a3789192132d472fc5a33e914a221a568eee4fc10cd103
     23checksums       md5    612bb8127d0d31da6e5474edf8a5c247 \
     24                sha1   49ecfe2a0939232ca78ce318d938044e7f751b6d \
     25                rmd160 96e1ed3c5b99d420e3e2e4eae1b5590961191a33
     26worksrcdir      motif-${version}
    3027
    3128depends_build \
    3229        port:pkgconfig \
    33         port:xbitmaps
     30        port:xbitmaps \
     31        port:autoconf \
     32        port:automake \
     33        port:libtool
    3434
    3535depends_lib \
     
    4646patchfiles      patch-uintptr_t-cast.diff \
    4747                patch-lib-XmP.h.diff \
    48                 patch-clients-uil-UilDefI.h.diff
     48                patch-autogen.sh.diff
    4949
    5050post-patch {
    51     reinplace "s|iconv_open|libiconv_open|g" ${worksrcpath}/configure
    52     reinplace -E "/^LDFLAGS/s|\$| @LDFLAGS@|" ${worksrcpath}/lib/Xm/Makefile.in
     51    # Looks like a botched cvs rename - identical files with an 'Exm' name
     52    # prefix exist. Only a problem because of a case-conflict with libc's
     53    # string.h.
     54    file delete ${worksrcpath}/demos/lib/Exm/String.h \
     55                ${worksrcpath}/demos/lib/Exm/StringP.h \
     56                ${worksrcpath}/demos/lib/Exm/String.c
    5357}
    5458
    55 configure.cflags -fno-strict-aliasing
     59pre-configure {
     60    system -W ${worksrcpath} "./autogen.sh"
     61}
    5662configure.args  --mandir=${prefix}/share/man    \
    5763                --enable-xft    \
     
    6268
    6369use_parallel_build  no
    64 build.env       LANG=C
    6570
    6671post-destroot {
    67     set docdir ${prefix}/share/doc/${name}-${version}
     72    set docdir ${prefix}/share/doc/${name}
    6873    xinstall -d ${destroot}${docdir}
    69     xinstall -m 0644 -W ${worksrcpath} BUGREPORT COPYRIGHT.MOTIF ChangeLog LICENSE \
     74    xinstall -m 0644 -W ${worksrcpath} BUGREPORT COPYING ChangeLog \
    7075        README RELNOTES TODO ${destroot}${docdir}
    7176}
  • trunk/dports/x11/openmotif/files/patch-lib-XmP.h.diff

    r79872 r99364  
    1 --- lib/Xm/XmP.h.orig   2011-06-28 16:02:50.000000000 -0700
    2 +++ lib/Xm/XmP.h        2011-06-28 16:12:34.000000000 -0700
    3 @@ -1455,12 +1455,15 @@ extern void _XmDestroyParentCallback(
     1--- lib/Xm/XmP.h.orig   2012-10-23 01:50:35.000000000 +1100
     2+++ lib/Xm/XmP.h        2012-11-03 17:45:45.000000000 +1100
     3@@ -1442,9 +1442,13 @@ extern void _XmDestroyParentCallback(
    44 
    55 #endif /* NO_XM_1_2_BC */
     
    1616 #else
    1717 #  define XM_DEPRECATED
    18 -#  define XM_ALIAS(sym)
    19  #endif
    20  
    21  #endif /* _XmP_h */
     18 #  define XM_ALIAS(sym)
Note: See TracChangeset for help on using the changeset viewer.