diff --git a/x11-toolkits/xmhtml/Makefile b/x11-toolkits/xmhtml/Makefile
index da1a55cf58a3..766f46550d68 100644
--- a/x11-toolkits/xmhtml/Makefile
+++ b/x11-toolkits/xmhtml/Makefile
@@ -3,7 +3,7 @@
# Date created: 18 Feb 1999
# Whom: Peter Hawkins
#
-# $Id: Makefile,v 1.2 1999/02/22 07:35:20 asami Exp $
+# $Id: Makefile,v 1.3 1999/04/12 08:17:27 asami Exp $
#
DISTNAME= XmHTML-1.1.0
@@ -17,6 +17,9 @@ PATCHFILES= patch-102697.gz
MAINTAINER= thepish@freebsd.org
+LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png \
+ jpeg.9:${PORTSDIR}/graphics/jpeg
+
REQUIRES_MOTIF= yes
USE_IMAKE= yes