From c317bf7f1ea42fe3c817c4b2cc0ef21070c3e7aa Mon Sep 17 00:00:00 2001 From: Andrey Slusar Date: Sat, 2 Sep 2006 09:55:37 +0000 Subject: [PATCH] Add required build depends. PR: ports/102739 Submitted by: Denis Shaposhnikov (maintainer) Reported by: kris (pointyhat) --- textproc/rst.el/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/textproc/rst.el/Makefile b/textproc/rst.el/Makefile index 306c106b8ae5..ac74313c341e 100644 --- a/textproc/rst.el/Makefile +++ b/textproc/rst.el/Makefile @@ -29,6 +29,12 @@ PLIST_FILES= ${EMACS_SITE_LISPDIR}/rst.el \ ELISPDIR= ${TARGETDIR}/${EMACS_SITE_LISPDIR} +.include + +.if (${EMACS_NAME} == "xemacs") +BUILD_DEPENDS+= ${LOCALBASE}/lib/xemacs/xemacs-packages/lisp/xemacs-base/compile.el:${PORTSDIR}/editors/xemacs-packages +.endif + do-build: cd ${WRKSRC}; ${EMACS_CMD} -batch -q -f batch-byte-compile ${PORTNAME} @@ -39,4 +45,4 @@ do-install: post-install: @${CAT} ${PKGMESSAGE} -.include +.include