diff options
author | shige <shige@FreeBSD.org> | 2000-07-19 16:01:49 +0800 |
---|---|---|
committer | shige <shige@FreeBSD.org> | 2000-07-19 16:01:49 +0800 |
commit | 09a3443d2c60bac05824ef25d83e4a5cf1d1ac46 (patch) | |
tree | 16abee687b70c78e6c486630b062d77c4f71bf35 /Mk | |
parent | 698242da5b197a9e202bd14a19de62e83c207634 (diff) | |
download | freebsd-ports-gnome-09a3443d2c60bac05824ef25d83e4a5cf1d1ac46.tar.gz freebsd-ports-gnome-09a3443d2c60bac05824ef25d83e4a5cf1d1ac46.tar.zst freebsd-ports-gnome-09a3443d2c60bac05824ef25d83e4a5cf1d1ac46.zip |
Add user configuration variables: EMACS_NO_BUILD_DEPENDS, EMACS_NO_RUN_DEPENDS.
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.
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} |