Ticket #34826: blt.patch
File blt.patch, 3.2 KB (added by gustafn, 12 years ago) |
---|
-
x11/blt/Portfile
diff -ur /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/blt/Portfile x11/blt/Portfile
old new 1 # -*- Tcl -*- 1 2 # $Id: Portfile 91184 2012-03-25 08:25:43Z jeremyhu@macports.org $ 2 3 PortSystem 1.0 3 4 4 5 name blt 5 6 version 2.4z 6 revision 37 revision 4 7 8 categories x11 8 9 maintainers markd 9 10 description BLT is an extension to the Tk toolkit, adding new widgets, \ 10 11 geometry managers, and miscellaneous commands. 11 12 long_description ${description} 12 13 13 homepage http://blt.sourceforge.net/ 14 platforms darwin15 14 15 platforms darwin 16 16 master_sites sourceforge 17 17 distname BLT${version} 18 18 worksrcdir blt${version} 19 checksums md5 aa2ed73080f3005d9c2a3b5e57ab1eff 19 20 checksums md5 aa2ed73080f3005d9c2a3b5e57ab1eff \ 21 sha1 29f719aa762f1762dbf4a3b0e60dc5356118ba2f \ 22 rmd160 d54d9fdb6c61391c191afab4701716d18a3d928b 20 23 21 24 depends_build port:xorg-libX11 \ 22 port:tcl \23 port:tk 25 port:tcl84 \ 26 port:tk84 24 27 25 28 # Project bug 26 29 # http://trac.macports.org/ticket/32599 … … 31 34 configure.cppflags "-L${prefix}/lib" 32 35 configure.cflags "-O3 -fno-common" 33 36 34 configure.args -- exec_prefix=${prefix}\35 --bindir=${prefix}/bin\36 --includedir=${prefix}/include\37 --libdir=${prefix}/lib\38 --with-tcllibs=${prefix}/lib \ 39 --with-tklibs=${prefix}/lib \ 40 --with-tclincls=${prefix}/include \ 41 --with-tkincls=${prefix}/include \ 42 --with-tcl=${prefix} \ 43 --with-tk=${prefix} 44 45 patchfiles patch-configure \ 46 patch-Makefile.in \ 47 patch-library-Makefile.in\48 patch-src-Makefile.in\49 patch-src-shared-Makefile.in \50 patch-library-pkgIndex.tcl.in\51 patch-demos-Makefile.in \52 blt-2.4z-tcl8.5-fix.patch\53 blt2.4z-noexactversion.patch\54 blt-x86_64.patch 37 configure.args --mandir=${prefix}/share/man \ 38 --with-tcl=${prefix}/lib/tcl84 \ 39 --with-tk=${prefix}/lib/tcl84 \ 40 --with-tclincls=${prefix}/include/tcl84 \ 41 --with-tkincls=${prefix}/include/tcl84 42 43 if {${configure.build_arch} == "x86_64" || ${configure.build_arch} == "ppc64"} { 44 configure.args-append --enable-64bit 45 } 46 platform darwin { 47 configure.args-append tcl_cv_type_64bit="long long" 48 } 49 50 patchfiles \ 51 blt-x86_64.patch \ 52 patch-Makefile.in \ 53 patch-configure \ 54 patch-demos-Makefile.in \ 55 patch-library-Makefile.in \ 56 patch-src-Makefile.in \ 57 patch-src-shared-Makefile.in 55 58 56 59 post-patch { 57 60 reinplace "s|__DESTROOT__|${destroot}|g" \