aboutsummaryrefslogtreecommitdiffstats
path: root/www/seamonkey
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-10-22 15:09:39 +0800
committermarcus <marcus@FreeBSD.org>2002-10-22 15:09:39 +0800
commit60ed5a3e1ffccb1dd6c03d22b09caac077608e50 (patch)
tree369923f275e9d0633540de7d3fbd4063b535f044 /www/seamonkey
parentbc0f75bf4756c6909015702a1691db6d57de31ec (diff)
downloadfreebsd-ports-gnome-60ed5a3e1ffccb1dd6c03d22b09caac077608e50.tar.gz
freebsd-ports-gnome-60ed5a3e1ffccb1dd6c03d22b09caac077608e50.tar.zst
freebsd-ports-gnome-60ed5a3e1ffccb1dd6c03d22b09caac077608e50.zip
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/seamonkey')
-rw-r--r--www/seamonkey/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile
index 555e38d6a59e..ad8c0f61a1c4 100644
--- a/www/seamonkey/Makefile
+++ b/www/seamonkey/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" \