diff options
author | Shigeyuki Fukushima <shige@FreeBSD.org> | 2000-07-19 08:01:49 +0000 |
---|---|---|
committer | Shigeyuki Fukushima <shige@FreeBSD.org> | 2000-07-19 08:01:49 +0000 |
commit | 4d290cbd55d1c024ebf1711f948f407fecae4568 (patch) | |
tree | 9b748c8124d64da06ffd389367c8dc73878a60bd /Mk | |
parent | 38db3a270635914f55775e3b3ee17f750318dacb (diff) | |
download | ports-4d290cbd55d1c024ebf1711f948f407fecae4568.tar.gz ports-4d290cbd55d1c024ebf1711f948f407fecae4568.zip |
Notes
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.emacs.mk | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/Mk/bsd.emacs.mk b/Mk/bsd.emacs.mk index d417cd6b30f3..1aaf52eff67c 100644 --- a/Mk/bsd.emacs.mk +++ b/Mk/bsd.emacs.mk @@ -1,5 +1,5 @@ # -# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.emacs.mk,v 1.6 2000-07-12 15:18:32 shige Exp $ +# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.emacs.mk,v 1.7 2000-07-19 08:01:49 shige Exp $ # # bsd.emacs.mk - 19990829 Shigeyuki Fukushima. # @@ -50,6 +50,14 @@ Emacs_Include_MAINTAINER= shige@FreeBSD.org # ex.) "share/emacs/20.6/site-lisp" when emacsen is a # emacs-20.6. # +# EMACS_NO_BUILD_DEPENDS: +# If set "YES" to this variable, port does not +# build-depend on EMACS_PORT_NAME's emacsen. +# +# EMACS_NO_RUN_DEPENDS: +# If set "YES" to this variable, port does not +# run-depend on EMACS_PORT_NAME's emacsen. +# # Emacs-19.x @@ -151,12 +159,18 @@ EMACS_SITE_LISPDIR?= ${EMACS_LIBDIR}/site-lisp EMACS_VERSION_SITE_LISPDIR?= ${EMACS_LIBDIR_WITH_VER}/site-lisp # build&run-dependency +EMACS_NO_BUILD_DEPENDS?= NO +EMACS_NO_RUN_DEPENDS?= NO +.if (${EMACS_NO_BUILD_DEPENDS} == "NO") BUILD_DEPENDS+= ${EMACS_CMD}:${EMACS_PORTSDIR} +.endif +.if (${EMACS_NO_RUN_DEPENDS} == "NO") .if defined(EMACS_COMMON_PORT) && (${EMACS_COMMON_PORT} == "YES") RUN_DEPENDS+= ${EMACS_CMD}:${EMACS_PORTSDIR}-common .else RUN_DEPENDS+= ${EMACS_CMD}:${EMACS_PORTSDIR} .endif +.endif # environments for build MAKE_FLAGS+= EMACS=${EMACS_CMD} XEMACS=${EMACS_CMD} |