[88050] trunk/dports/x11/mesa/Portfile
Jeremy Huddleston
jeremyhu at apple.com
Sat Dec 17 01:25:41 PST 2011
As someone who doesn't use vim, I'd rather you fix the vi-modeline to match the whitespace =/.
On Dec 16, 2011, at 23:17, ryandesign at macports.org wrote:
> Revision: 88050
> http://trac.macports.org/changeset/88050
> Author: ryandesign at macports.org
> Date: 2011-12-16 23:17:44 -0800 (Fri, 16 Dec 2011)
> Log Message:
> -----------
> mesa: fix whitespace to conform to modeline
>
> Modified Paths:
> --------------
> trunk/dports/x11/mesa/Portfile
>
> Modified: trunk/dports/x11/mesa/Portfile
> ===================================================================
> --- trunk/dports/x11/mesa/Portfile 2011-12-17 07:16:20 UTC (rev 88049)
> +++ trunk/dports/x11/mesa/Portfile 2011-12-17 07:17:44 UTC (rev 88050)
> @@ -33,24 +33,21 @@
> rmd160 bb0a176aece53d527f8b0e277e7d54742b9c8e52 \
> sha256 69c3e4a023a2ef645a352a1aa63723969b41feb79363514e8137ff74aa5576bd
>
> -depends_build \
> - bin:makedepend:makedepend \
> - bin:tclsh8.5:tcl
> +depends_build bin:makedepend:makedepend \
> + bin:tclsh8.5:tcl
>
> -depends_lib \
> - port:xorg-glproto \
> - port:xorg-dri2proto \
> - port:xorg-libXfixes \
> - port:xorg-libXi \
> - port:xorg-libXmu
> +depends_lib port:xorg-glproto \
> + port:xorg-dri2proto \
> + port:xorg-libXfixes \
> + port:xorg-libXi \
> + port:xorg-libXmu
>
> use_configure no
> use_parallel_build yes
>
> -patchfiles \
> - 0001.GLXPixmap.patch \
> - 0002.GLXPixmap.patch \
> - 0003.GLXPixmap.patch
> +patchfiles 0001.GLXPixmap.patch \
> + 0002.GLXPixmap.patch \
> + 0003.GLXPixmap.patch
>
> patch.pre_args -p1
>
> @@ -69,8 +66,8 @@
> build.args-append RC_CFLAGS="[get_canonical_archflags]"
>
> if { ![file exists /usr/include/Xplugin.h] } {
> - # Xplugin.h is missing on Tiger
> - configure.cppflags-append -I${filespath}/include
> + # Xplugin.h is missing on Tiger
> + configure.cppflags-append -I${filespath}/include
> }
>
> configure.cppflags-delete -I${prefix}/include
> @@ -79,23 +76,23 @@
> CXX="${configure.cxx} ${configure.cppflags}"
>
> post-extract {
> - if {! [file exists "${worksrcpath}/configs/current"]} {
> - ln -s darwin ${worksrcpath}/configs/current
> - }
> + if {! [file exists "${worksrcpath}/configs/current"]} {
> + ln -s darwin ${worksrcpath}/configs/current
> + }
> }
>
> post-patch {
> - # Ensure correct compilers are used in mklib.
> - reinplace "s:LINK=\"g++\":LINK=\"${configure.cxx}\":" ${worksrcpath}/bin/mklib
> - reinplace "s:LINK=\"cc\":LINK=\"${configure.cc}\":" ${worksrcpath}/bin/mklib
> + # Ensure correct compilers are used in mklib.
> + reinplace "s:LINK=\"g++\":LINK=\"${configure.cxx}\":" ${worksrcpath}/bin/mklib
> + reinplace "s:LINK=\"cc\":LINK=\"${configure.cc}\":" ${worksrcpath}/bin/mklib
> }
>
> pre-configure {
> - if { ![file exists /usr/lib/libXplugin.dylib] } {
> - ui_error "Detected a problem with your development environment. Please work around it by executing:"
> - ui_error "sudo ln -s libXplugin.1.dylib /usr/lib/libXplugin.dylib"
> - return -code error "missing libXplugin.dylib"
> - }
> + if { ![file exists /usr/lib/libXplugin.dylib] } {
> + ui_error "Detected a problem with your development environment. Please work around it by executing:"
> + ui_error "sudo ln -s libXplugin.1.dylib /usr/lib/libXplugin.dylib"
> + return -code error "missing libXplugin.dylib"
> + }
> }
>
> variant iglx description {Install a libGL that uses your X11 server's indirect GLX path for rendering (the default is off which allows libGL to accelerate rendering using OpenGL.framework)} {
> @@ -128,8 +125,8 @@
> # http://trac.macports.org/ticket/24393
> # http://trac.macports.org/ticket/29860
> if {${build_arch} == "ppc"} {
> - reinplace "/SRC_DIRS/ s/gallium//" ${worksrcpath}/configs/darwin
> - }
> + reinplace "/SRC_DIRS/ s/gallium//" ${worksrcpath}/configs/darwin
> + }
>
> # These are being comented out to find out if they're still broken
> # 6/6/2011
> @@ -138,8 +135,8 @@
> # libOSMesa fails on Tiger, too...
> #reinplace "/DRIVER_DIRS/ s/osmesa//" ${worksrcpath}/configs/darwin
>
> - # http://trac.macports.org/ticket/24366
> - reinplace "s:-fno-strict-aliasing:-fno-strict-aliasing -fno-common:g" ${worksrcpath}/configs/darwin
> + # http://trac.macports.org/ticket/24366
> + reinplace "s:-fno-strict-aliasing:-fno-strict-aliasing -fno-common:g" ${worksrcpath}/configs/darwin
> }
>
> post-activate {
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-changes
More information about the macports-dev
mailing list