diff options
author | shige <shige@FreeBSD.org> | 2000-07-25 17:01:38 +0800 |
---|---|---|
committer | shige <shige@FreeBSD.org> | 2000-07-25 17:01:38 +0800 |
commit | 6d6079fbf758056bf0b812c65ea1bbbc33adb31c (patch) | |
tree | 0cd8f7252a1626aa1c94eb4c8375b3ddc0d31b60 /Mk | |
parent | e664a2bbe4f51c2283cb29e9fe451b321fbb4771 (diff) | |
download | freebsd-ports-gnome-6d6079fbf758056bf0b812c65ea1bbbc33adb31c.tar.gz freebsd-ports-gnome-6d6079fbf758056bf0b812c65ea1bbbc33adb31c.tar.zst freebsd-ports-gnome-6d6079fbf758056bf0b812c65ea1bbbc33adb31c.zip |
Change RUN_DEPENDS file when EMACS_COMMON_PORT=YES.
Because -common port doesn't have ${EMACS_CMD}.
Pointed by: asami-san
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.emacs.mk | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Mk/bsd.emacs.mk b/Mk/bsd.emacs.mk index 1aaf52eff67c..1f3a3dd693f6 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.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 |