Ticket #48873: Portfile-ipe.diff
File Portfile-ipe.diff, 1.7 KB (added by m7.thon@…, 9 years ago) |
---|
-
Portfile
old new 6 6 7 7 name ipe 8 8 version 7.1.8 9 revision 1 9 10 set branch [join [lrange [split ${version} .] 0 1] .] 10 11 categories graphics 11 12 maintainers gmail.com:m7.thon openmaintainer … … 28 29 29 30 depends_lib-append port:freetype \ 30 31 path:lib/pkgconfig/cairo.pc:cairo \ 31 path:lib/pkgconfig/lua.pc:lua \32 32 port:lua \ 33 33 path:lib/libjpeg.dylib:jpeg \ 34 34 port:libpng \ … … 47 47 default_variants +qvoronoi 48 48 49 49 pre-build { 50 set lua_pc [lindex [split [glob ${prefix}/lib/pkgconfig/lua*] "/"] end]51 set lua_version [join [lrange [split ${lua_pc} "."] 0 end-1] "."]52 50 build.env CXXFLAGS="[get_canonical_archflags cxx]" \ 53 51 LDFLAGS="[get_canonical_archflags ld]" 54 52 … … 62 60 FREETYPE_LIBS="`pkg-config --libs freetype2`" \ 63 61 CAIRO_CFLAGS="`pkg-config --cflags cairo`" \ 64 62 CAIRO_LIBS="`pkg-config --libs cairo`" \ 65 LUA_CFLAGS="`pkg-config --cflags ${lua_version}`" \66 LUA_LIBS="`pkg-config --libs ${lua_version}`" \63 LUA_CFLAGS="`pkg-config --cflags lua` -DLUA_COMPAT_5_2" \ 64 LUA_LIBS="`pkg-config --libs lua`" \ 67 65 QT_CFLAGS="`pkg-config --cflags QtGui QtCore`" \ 68 66 QT_LIBS="`pkg-config --libs QtGui QtCore`" \ 69 67 MOC=${qt_moc_cmd} \