Ticket #41275: Portfile-nsis.diff
File Portfile-nsis.diff, 1.3 KB (added by steve+macports@…, 10 years ago) |
---|
-
Portfile
old new 31 31 worksrcdir nsis-${version}-src 32 32 use_bzip2 yes 33 33 34 depends_build port:scons port:i386-mingw32-gcc34 depends_build port:scons 35 35 36 36 extract.only nsis-${version}-src.tar.bz2 37 37 … … 39 39 system "cd ${workpath} && unzip ${distpath}/nsis-${version}.zip" 40 40 } 41 41 42 patchfiles patch-SConstruct.diff 43 42 44 use_configure no 43 45 46 # nsis doesn't compile against libc++, which is the default in clang on 10.9 47 # https://sourceforge.net/p/nsis/bugs/1085/ 48 compiler.whitelist llvm-gcc-4.2 macports-llvm-gcc-4.2 gcc-4.2 apple-gcc-4.2 49 44 50 # nsis can only ever be built 32-bit, but relies on libiconv. Since the dependency is limited to only iconv, 45 51 # we will rely on the base system 32-bit libiconv installation. Should MacPorts switch to 32-bit/64-bit universal 46 52 # builds by default, this decision should be revisited. 47 set scons.args "PREFIX=\"${prefix}\" PREFIX_DEST=\"${destroot}\" SKIPSTUBS=all SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all"53 set scons.args "PREFIX=\"${prefix}\" PREFIX_DEST=\"${destroot}\" CC=\"${configure.cc}\" CXX=\"${configure.cxx}\" SKIPSTUBS=all SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all" 48 54 # APPEND_CPPPATH=\"${prefix}/include\" APPEND_LIBPATH=\"${prefix}/lib\" 49 55 50 56 build {