Ticket #22025: ntl-quoting.diff
File ntl-quoting.diff, 1.1 KB (added by jmroot (Joshua Root), 15 years ago) |
---|
-
Portfile
24 24 25 25 test.run no 26 26 27 configure.pre_args "PREFIX=${prefix} DOCDIR=${prefix}/share/doc"28 configure.args "NTL_STD_CXX=on"29 configure.args-append "CC=\$CC CXX=\$CXX CFLAGS=\$CFLAGS CXXFLAGS=\$CXXFLAGS"27 configure.pre_args PREFIX=\"${prefix}\" DOCDIR=\"${prefix}/share/doc\" 28 configure.args NTL_STD_CXX=on \ 29 CC=\"\$CC\" CXX=\"\$CXX\" CFLAGS=\"\$CFLAGS\" CXXFLAGS=\"\$CXXFLAGS\" 30 30 31 31 worksrcdir ${name}-${version}/src 32 32 33 destroot.destdir "PREFIX=${destroot}${prefix} DOCDIR=${destroot}${prefix}/share/doc"33 destroot.destdir PREFIX=\"${destroot}${prefix}\" DOCDIR=\"${destroot}${prefix}/share/doc\" 34 34 35 35 post-patch { 36 36 # Ensure that the correct perl is used … … 39 39 40 40 variant gmp { 41 41 depends_lib-append port:gmp 42 configure.args-append "NTL_GMP_LIP=on GMP_PREFIX=${prefix}"42 configure.args-append NTL_GMP_LIP=on GMP_PREFIX=\"${prefix}\" 43 43 } 44 44 45 45 post-destroot {