Make DEPPORT_SUFFIX empty when EMACS_PORT_NAME = emacs22 since editors/apel-emacs22

and editors/flim-emacs22 does not exist.
This commit is contained in:
MANTANI Nobutaka 2006-07-10 02:42:53 +00:00
parent 2f4d8e1096
commit 2bd73027be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=167322
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ MAKE_ARGS+= PREFIX="${LOCALBASE}" \
.include <bsd.port.pre.mk>
.if defined(EMACS_PORT_NAME)
.if ${EMACS_PORT_NAME} == "emacs21"
.if ${EMACS_PORT_NAME} == "emacs21" || (${EMACS_PORT_NAME} == "emacs22")
DEPPORT_SUFFIX=
.else
DEPPORT_SUFFIX= -${EMACS_PORT_NAME}

View file

@ -47,7 +47,7 @@ MAKE_ARGS+= PREFIX="${LOCALBASE}" \
.include <bsd.port.pre.mk>
.if defined(EMACS_PORT_NAME)
.if ${EMACS_PORT_NAME} == "emacs21"
.if (${EMACS_PORT_NAME} == "emacs21") || (${EMACS_PORT_NAME} == "emacs22")
DEPPORT_SUFFIX=
.else
DEPPORT_SUFFIX= -${EMACS_PORT_NAME}