mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Change RUN_DEPENDS file when EMACS_COMMON_PORT=YES.
Because -common port doesn't have ${EMACS_CMD}. Pointed by: asami-san
This commit is contained in:
parent
ea57445173
commit
36ad2eeff9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31023
@ -1,5 +1,5 @@
|
||||
#
|
||||
# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.emacs.mk,v 1.7 2000-07-19 08:01:49 shige Exp $
|
||||
# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.emacs.mk,v 1.8 2000-07-25 09:01:38 shige Exp $
|
||||
#
|
||||
# bsd.emacs.mk - 19990829 Shigeyuki Fukushima.
|
||||
#
|
||||
@ -103,6 +103,8 @@ EMACS_LIBDIR_WITH_VER?= lib/${EMACS_NAME}-${EMACS_VER}
|
||||
EMACS_PORTSDIR= ${PORTSDIR}/editors/xemacs
|
||||
EMACS_COMMON_PORT= NO
|
||||
EMACS_HAS_MULE= NO
|
||||
# subdirectory of emacs core elisp files
|
||||
EMACS_CORE_SUBDIR= prim
|
||||
|
||||
# XEmacs-20.x
|
||||
.elif (${EMACS_PORT_NAME} == "xemacs20")
|
||||
@ -114,6 +116,8 @@ EMACS_LIBDIR_WITH_VER?= lib/${EMACS_NAME}-${EMACS_VER}
|
||||
EMACS_PORTSDIR= ${PORTSDIR}/editors/xemacs20
|
||||
EMACS_COMMON_PORT= NO
|
||||
EMACS_HAS_MULE= NO
|
||||
# subdirectory of emacs core elisp files
|
||||
EMACS_CORE_SUBDIR= prim
|
||||
|
||||
# XEmacs-21.x
|
||||
.elif (${EMACS_PORT_NAME} == "xemacs21")
|
||||
@ -153,6 +157,9 @@ EMACS_HAS_MULE= YES
|
||||
|
||||
# emacsen command-line filename
|
||||
EMACS_CMD?= ${LOCALBASE}/bin/${EMACS_NAME}-${EMACS_VER}
|
||||
# emacsen core elisp filename
|
||||
EMACS_CORE_DIR= ${EMACS_LIBDIR_WITH_VER}/lisp/${EMACS_CORE_SUBDIR}
|
||||
EMACS_COREEL= ${LOCALBASE}/${EMACS_CORE_DIR}/startup.el
|
||||
|
||||
# emacsen libdir without ${LOCALBASE}
|
||||
EMACS_SITE_LISPDIR?= ${EMACS_LIBDIR}/site-lisp
|
||||
@ -166,7 +173,7 @@ 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
|
||||
RUN_DEPENDS+= ${EMACS_COREEL}:${EMACS_PORTSDIR}-common
|
||||
.else
|
||||
RUN_DEPENDS+= ${EMACS_CMD}:${EMACS_PORTSDIR}
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user