1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00

Use ${PORTSDIR} instead of ${.CURDIR}/../.. in (BUILD|RUN)_DEPENDS

variables and other variables.
Because there is no relation of master/slave between this port and
editors/emacs20-dl. ${.CURDIR}/../.. should not be used.
This commit is contained in:
Shigeyuki Fukushima 2000-01-14 14:59:42 +00:00
parent fc53a53182
commit 0cc63f1b2e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=24721
2 changed files with 4 additions and 3 deletions

View File

@ -32,7 +32,7 @@ PLIST_SUB= EMACS_VER=${EMACS_VER} EMACS_ARCH=${MACHINE_ARCH}--freebsd \
# ports variables
EMACS_VER= 20.5
EMACSDL_DIR= ${.CURDIR}/../../editors/emacs20-dl
EMACSDL_DIR= ${PORTSDIR}/editors/emacs20-dl
EMACSDL_SRCDIR= ${WRKDIRPREFIX}${EMACSDL_DIR}/work/emacs-${EMACS_VER}/src
APEL_DEPENDS= ${PREFIX}/share/emacs/${EMACS_VER}/site-lisp/emu/emu.el
LISPDIR= share/emacs/site-lisp

View File

@ -23,14 +23,15 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-wnn6 \
--with-wnn-includes=${PREFIX}/include/wnn \
--with-wnn-libraries=${PREFIX}/lib \
--with-emacs-src=${WRKDIRPREFIX}${EMACSDL_DIR}/work/emacs-${EMACS_VER}
--with-emacs-src=${EMACSDL_SRCDIR}
CONFIGURE_ENV= EMACS=${PREFIX}/bin/emacs-dl-${EMACS_VER}
PLIST_SUB= EMACS_VER=${EMACS_VER} EMACS_ARCH=${MACHINE_ARCH}--freebsd \
DOCDIR=${DOCDIR}
DOCDIR= share/doc/emacs20-dl-wnn6
EMACS_VER= 20.5
EMACSDL_DIR= ${.CURDIR}/../../editors/emacs20-dl
EMACSDL_DIR= ${PORTSDIR}/editors/emacs20-dl
EMACSDL_SRCDIR= ${WRKDIRPREFIX}${EMACSDL_DIR}/work/emacs-${EMACS_VER}
# hack to allow parallel build to work
.if defined(PARALLEL_PACKAGE_BUILD)
BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake \