mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
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.
This commit is contained in:
parent
38db3a2706
commit
4d290cbd55
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=30830
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user