mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Fix usage of OPSYS (and the typo) and OSVERSION
This commit is contained in:
parent
b42a49f701
commit
da50ddf7e3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363565
@ -84,6 +84,8 @@ DEBUG_CONFIGURE_WITH= debug
|
||||
|
||||
OPTIONS_SUB=yes
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-extract:
|
||||
@${MKDIR} ${WIDEC_WRKSRC}
|
||||
@${MKDIR} ${NOWIDEC_WRKSRC}
|
||||
@ -124,7 +126,7 @@ post-install:
|
||||
. for f in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
|
||||
. endfor
|
||||
.if ${OSTYP} != FreeBSD || ${OSVERSION} > 900000
|
||||
.if ${OPSYS} != FreeBSD || ${OSVERSION} > 900000
|
||||
${RM} -f ${STAGEDIR}${PREFIX}/lib/libncurses.so \
|
||||
${STAGEDIR}${PREFIX}/lib/libncursesw.so
|
||||
${ECHO} "INPUT(libncurses.so.${RELEASE:R} AS_NEEDED(-ltinfo))" > ${STAGEDIR}${PREFIX}/lib/libncurses.so
|
||||
|
Loading…
Reference in New Issue
Block a user