summaryrefslogtreecommitdiff
path: root/www/mozilla-devel
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-10-22 07:09:39 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-10-22 07:09:39 +0000
commit2b3a8ff531aff548e721208bf50c85397dbe5941 (patch)
tree045758f7bd6ab7c295f7654cbf91b7f182f96b90 /www/mozilla-devel
parentAdd a missing '!' to the test for the browser_plugins dir. We only want to (diff)
Fix the build by adding a dependency on Xft.
Reported by: John Merryweather Cooper <john_m_cooper@yahoo.com> Rob Lahaye <lahaye@snu.ac.kr>
Notes
Notes: svn path=/head/; revision=68579
Diffstat (limited to 'www/mozilla-devel')
-rw-r--r--www/mozilla-devel/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/mozilla-devel/Makefile b/www/mozilla-devel/Makefile
index 555e38d6a59e..ad8c0f61a1c4 100644
--- a/www/mozilla-devel/Makefile
+++ b/www/mozilla-devel/Makefile
@@ -23,7 +23,7 @@ BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
mng.1:${PORTSDIR}/graphics/libmng \
- freetype.9:${PORTSDIR}/print/freetype2
+ Xft2.2:${PORTSDIR}/x11-fonts/Xft
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -111,6 +111,9 @@ BROKEN="You must upgrade your freetype port to 1.3.1_2 or higher before installi
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/build/unix/run-mozilla.sh
+ @${REINPLACE_CMD} -e 's|X11/Xft/Xft\.h|X11/Xft/Xft2.h|g' \
+ ${WRKSRC}/gfx/src/gtk/nsDrawingSurfaceGTK.cpp \
+ ${WRKSRC}/gfx/src/gtk/nsFontMetricsXft.h
post-build:
${SED} -e "s;@PREFIX@;${PREFIX};g" \