svn commit: r363565 - head/devel/ncurses
Baptiste Daroussin
bapt at FreeBSD.org
Thu Jul 31 10:20:19 UTC 2014
Author: bapt
Date: Thu Jul 31 10:20:18 2014
New Revision: 363565
URL: http://svnweb.freebsd.org/changeset/ports/363565
QAT: https://qat.redports.org/buildarchive/r363565/
Log:
Fix usage of OPSYS (and the typo) and OSVERSION
Modified:
head/devel/ncurses/Makefile
Modified: head/devel/ncurses/Makefile
==============================================================================
--- head/devel/ncurses/Makefile Thu Jul 31 10:17:25 2014 (r363564)
+++ head/devel/ncurses/Makefile Thu Jul 31 10:20:18 2014 (r363565)
@@ -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
More information about the svn-ports-all
mailing list