Firefox + Pango ports Makefile

Prudhvi Krishna prudhvikrishna at gmail.com
Mon Feb 18 13:07:12 PST 2008


Hi,

  I was wondering if it is possible to make the www/firefox/Makefile
compile with Pango.

 I am copying my diff file that would allow to do that. Please look
into it and if possible please commit to the main ports tree

  --- /usr/ports/www/firefox/Makefile     2008-02-09 10:32:56.000000000 -0600
+++ firefox/Makefile    2008-02-18 14:37:26.000000000 -0600
@@ -46,7 +46,8 @@
 MOZ_PIS_SCRIPTS=       moz_pis_S50cleanhome

 OPTIONS=       NEWTAB "Open external links in a new tab" on \
-               SMB "Enable smb:// URI support using gnomevfs" off
+               SMB "Enable smb:// URI support using gnomevfs" off \
+               PANGO "Enable Pango support." off

 .include <bsd.port.pre.mk>

@@ -64,6 +65,10 @@
        @${SED} -e 's|@FIREFOX_ICON@|${FIREFOX_ICON}|' -e
's|@MOZILLA@|${MOZILLA}|' \
                -e 's|@MOZILLA_NAME@|${MOZILLA_NAME}|' \
                <${FILESDIR}/firefox.desktop.in >${WRKDIR}/${MOZILLA}.desktop
+.if defined(WITH_PANGO)
+       MOZ_OPTIONS+=--enable-pango
+       LIB_DEPENDS+=pango:${PORTSDIR}/x11-toolkit/pango
+.endif

 post-patch:
        ${REINPLACE_CMD} -e
's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS:C/-pthread/${GECKO_PTHREAD_LIBS}/}|'
\

Thank you


More information about the freebsd-gnome mailing list