1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00

Move OSVERSION check after bsd.port.pre.mk

This commit is contained in:
Andrey A. Chernov 2007-05-27 23:00:50 +00:00
parent a4deae8088
commit 63fe60d35e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=192152

View File

@ -31,18 +31,18 @@ CONFIGURE_ARGS= --with-zlib --libdir="${L_LIB}" \
--with-mime-libdir=${PREFIX}/etc \
--with-libiconv-prefix=${LOCALBASE}
.if ${OSVERSION} >= 602107
CONFIGURE_ARGS+= --with-screen=ncursesw
.else
CONFIGURE_ARGS+= --with-screen=ncurses
.endif
.ifndef NO_OPENSSL
USE_OPENSSL= yes
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 602107
CONFIGURE_ARGS+= --with-screen=ncursesw
.else
CONFIGURE_ARGS+= --with-screen=ncurses
.endif
.ifdef USE_OPENSSL
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
.endif