Changeset 19342 for trunk/dports
- Timestamp:
- Aug 30, 2006, 9:02:25 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/x11/gtk2/Portfile
r19251 r19342 4 4 name gtk2 5 5 version 2.10.2 6 revision 1 6 7 categories x11 7 8 maintainers mij@opendarwin.org … … 27 28 port:gettext lib:libX11.6:XFree86 28 29 30 pre-configure { 31 if {[variant_isset quartz]} { 32 if { ![file exists ${prefix}/include/cairo/cairo-quartz.h] } { 33 ui_msg "\nYou must first build cairo with the quartz variant enabled. Please\nuninstall (or deactivate) the cairo port and reinstall by running:\n\n\"port install cairo +quartz\"\n" 34 exit 1 35 } 36 } 37 } 38 29 39 configure.env LDFLAGS="-L${prefix}/lib -lpango-1.0" \ 30 40 CPPFLAGS="-I${prefix}/include -no-cpp-precomp -DX_LOCALE" \ … … 38 48 platform darwin 6 { patchfiles-append patch-gtk-xdgmime-xdgmimemagic.c } 39 49 50 variant quartz { configure.args-append --enable-gdktarget=quartz } 51 40 52 post-patch { reinplace "s|xdg_data_dirs = \"/usr|xdg_data_dirs = \"${prefix}/share:/usr|g" ${worksrcpath}/gtk/xdgmime/xdgmime.c 41 53 reinplace "s|g_strdup (\"/usr|g_strdup (\"${prefix}|g" ${worksrcpath}/gtk/gtkicontheme.c }
Note: See TracChangeset
for help on using the changeset viewer.