aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-07-31 18:20:18 +0800
committerbapt <bapt@FreeBSD.org>2014-07-31 18:20:18 +0800
commit914d0ec1dced101b126995fc4968c7c9742ab7ea (patch)
tree1f31e39a09892714fc202e63b0519af1ef5c7f42 /devel
parentce9114ab388017d6abc38a87e4f8ca9a5070a63c (diff)
downloadfreebsd-ports-gnome-914d0ec1dced101b126995fc4968c7c9742ab7ea.tar.gz
freebsd-ports-gnome-914d0ec1dced101b126995fc4968c7c9742ab7ea.tar.zst
freebsd-ports-gnome-914d0ec1dced101b126995fc4968c7c9742ab7ea.zip
Fix usage of OPSYS (and the typo) and OSVERSION
Diffstat (limited to 'devel')
-rw-r--r--devel/ncurses/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/ncurses/Makefile b/devel/ncurses/Makefile
index f4879096231f..8c1aa6687be6 100644
--- a/devel/ncurses/Makefile
+++ b/devel/ncurses/Makefile
@@ -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