Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2008 14:40:40 -0600
From:      "Prudhvi Krishna" <prudhvikrishna@gmail.com>
To:        gnome@freebsd.org
Subject:   Firefox + Pango ports Makefile
Message-ID:  <ac3b0f10802181240j3afa33v723c18195befe2c2@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ac3b0f10802181240j3afa33v723c18195befe2c2>