mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
Fix for using OSVERSION variable.
Submitted by: Yoichi Nakayama <yoichi@eken.phys.nagoya-u.ac.jp>
This commit is contained in:
parent
ab6ab8c270
commit
d1fd328e7d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41965
@ -47,11 +47,11 @@ PLIST_SUB= EMACS_VER=${EMACS_VER} EMACS_ARCH=${CONFIGURE_TARGET} \
|
||||
SCRIPTS_ENV= SED=${SED} MV=${MV} \
|
||||
DOC_FILE=${DOC_FILE}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_XPG4)
|
||||
.if ${OSVERSION} >= 220000 && ${OSVERSION} < 400020
|
||||
CONFIGURE_ARGS+= --with-xpg4
|
||||
.endif
|
||||
.if ${OSVERSION} >= 500000 && ${OSVERSION} < 500005
|
||||
.if ${OSVERSION} >= 220000 && ${OSVERSION} < 400020 || \
|
||||
${OSVERSION} >= 500000 && ${OSVERSION} < 500005
|
||||
CONFIGURE_ARGS+= --with-xpg4
|
||||
.endif
|
||||
.endif
|
||||
@ -64,4 +64,4 @@ do-install:
|
||||
@${INSTALL} -c -s -m 555 -o root -g wheel ${WRKSRC}/src/emacs ${PREFIX}/bin/emacs-dl-${EMACS_VER}
|
||||
@${INSTALL_DATA} ${WRKSRC}/etc/DOC ${PREFIX}/share/emacs/${EMACS_VER}/etc/${DOC_FILE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user