Ticket #19057: Portfile.diff
File Portfile.diff, 1.1 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 16 years ago) |
---|
-
Portfile
old new 14 14 master_sites http://www.dina.kvl.dk/~sestoft/mosml 15 15 distfiles mos201src.tar.gz 16 16 checksums md5 74aaaf988201fe92a9dbfbcb1e646f70 17 patchfiles patch-configure.diff\ 18 patch-src-Makefile.diff\ 17 patchfiles patch-src-Makefile.diff\ 19 18 patch-src-Makefile-inc.diff\ 20 19 patch-src-launch-Makefile.diff\ 21 20 patch-src-dynlibs.diff 21 worksrcdir mosml 22 22 post-patch { 23 file attributes configure -permissions +x 23 reinplace "s|/usr/bin/cpp|${configure.cpp}|" ${worksrcpath}/src/Makefile.inc 24 reinplace "s|LD=gcc|LD=${configure.cc}|" ${worksrcpath}/src/Makefile.inc 25 reinplace "s|CC=gcc|CC=${configure.cc}|" ${worksrcpath}/src/Makefile.inc 24 26 } 25 worksrcdir mosml 27 configure.dir ${worksrcpath}/src/config 28 configure.cmd ./autoconf 29 configure.pre_args ${configure.cc} 26 30 build.target world 27 31 build.pre_args -Csrc DESTROOT=${prefix} ${build.target} 28 32 destroot.pre_args -Csrc DESTROOT=${destroot}${prefix} ${destroot.target}