pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/misc/pinfo
Module Name: pkgsrc
Committed By: roy
Date: Wed Jan 4 21:17:56 UTC 2017
Modified Files:
pkgsrc/misc/pinfo: Makefile
Log Message:
Use the curses framework.
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 pkgsrc/misc/pinfo/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/misc/pinfo/Makefile
diff -u pkgsrc/misc/pinfo/Makefile:1.38 pkgsrc/misc/pinfo/Makefile:1.39
--- pkgsrc/misc/pinfo/Makefile:1.38 Tue Aug 18 07:31:13 2015
+++ pkgsrc/misc/pinfo/Makefile Wed Jan 4 21:17:56 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2015/08/18 07:31:13 wiz Exp $
+# $NetBSD: Makefile,v 1.39 2017/01/04 21:17:56 roy Exp $
#
DISTNAME= pinfo-0.6.1
@@ -22,17 +22,13 @@ CONF_FILES= ${EGDIR}/pinforc ${PKG_SYSC
INFO_FILES= yes
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR:Q}
-PKG_OPTIONS_VAR= PKG_OPTIONS.pinfo
-PKG_SUPPORTED_OPTIONS= pinfo-native-curses
-
-.include "../../mk/bsd.options.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
-.if !empty(PKG_OPTIONS:Mpinfo-native-curses)
+.include "../../mk/curses.buildlink3.mk"
+.if ${CURSES_TYPE} == "curses"
CONFIGURE_ARGS+= --with-vcurses
-.else
-.include "../../devel/ncurses/buildlink3.mk"
-CONFIGURE_ARGS+= --with-ncurses=${BUILDLINK_PREFIX.ncurses}
+.elif ${CURSES_TYPE} == "ncurses" || ${CURSES_TYPE} == "ncursesw"
+CONFIGURE_ARGS+= --with-ncurses=${BUILDLINK_PREFIX.curses}
.endif
-.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index