Ticket #29950: freeimage-universal.diff
File freeimage-universal.diff, 1.1 KB (added by ejtttje@…, 13 years ago) |
---|
-
graphics/freeimage/Portfile
old new 5 5 6 6 name freeimage 7 7 version 3.15.0 8 revision 7 8 9 license FreeImage-1.0 GPL-2 9 10 categories graphics 10 11 platforms macosx … … 27 28 sha1 ec2faa01d1b312aab68d77afe62861759c790100 \ 28 29 rmd160 5d309d0d8335129d00d6b5455613c89a419ebcac 29 30 31 universal_variant yes 32 30 33 post-patch { 31 34 # Libraries extension is ".dylib" on Darwin, not ".so" 32 35 reinplace {s/\.so/.dylib/} ${worksrcpath}/Makefile.gnu … … 51 54 post-patch { 52 55 reinplace "s|CFLAGS ?= |CFLAGS ?= ${configure.universal_cflags} |g" ${worksrcpath}/Makefile.gnu 53 56 reinplace "s|CXXFLAGS ?= |CXXFLAGS ?= ${configure.universal_cxxflags} |g" ${worksrcpath}/Makefile.gnu 57 reinplace "s|\$(LDFLAGS)|\$(LDFLAGS) ${configure.universal_ldflags}|g" ${worksrcpath}/Makefile.gnu 54 58 } 55 59 } else { 56 60 post-patch {