summaryrefslogtreecommitdiffstats
path: root/www/seamonkey2
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-10-22 07:09:39 +0000
committermarcus <marcus@FreeBSD.org>2002-10-22 07:09:39 +0000
commit60ed5a3e1ffccb1dd6c03d22b09caac077608e50 (patch)
tree369923f275e9d0633540de7d3fbd4063b535f044 /www/seamonkey2
parentbc0f75bf4756c6909015702a1691db6d57de31ec (diff)
downloadFreeBSD-ports-60ed5a3e1ffccb1dd6c03d22b09caac077608e50.zip
FreeBSD-ports-60ed5a3e1ffccb1dd6c03d22b09caac077608e50.tar.gz
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>
Diffstat (limited to 'www/seamonkey2')
-rw-r--r--www/seamonkey2/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/seamonkey2/Makefile b/www/seamonkey2/Makefile
index 555e38d..ad8c0f6 100644
--- a/www/seamonkey2/Makefile
+++ b/www/seamonkey2/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" \
OpenPOWER on IntegriCloud