Prototype MacPorts PortFile: Difference between revisions

Jump to navigation Jump to search
Remove "docs" variant and include "arpack" as a dependent library
(Add -pthread and -D_THREAD_SAFE to fflags and cflags. Add -pthread to ldflags)
(Remove "docs" variant and include "arpack" as a dependent library)
Line 41: Line 41:
                     port:texinfo
                     port:texinfo


depends_lib        port:curl \
depends_lib        port:arpack \
                    port:curl \
                     port:fftw-3 \
                     port:fftw-3 \
                     port:fftw-3-single \
                     port:fftw-3-single \
Line 72: Line 73:
configure.args      --disable-dependency-tracking \
configure.args      --disable-dependency-tracking \
                     --without-x \
                     --without-x \
                    --disable-docs \
                     --with-cholmod="-lcholmod"
                     --with-cholmod="-lcholmod"


Line 156: Line 156:
     depends_build-append port:gcc${gcc_version_join}
     depends_build-append port:gcc${gcc_version_join}
     configure.compiler  macports-gcc-${gcc_version}
     configure.compiler  macports-gcc-${gcc_version}
}
variant docs description {Enable creation and installation of documentation} {
    depends_run-append port:texlive-basic
    configure.args-replace s|--disable-docs|--enable-docs|
}
}


364

edits

Navigation menu