diff options
author | fredb <fredb@pkgsrc.org> | 2001-03-26 00:41:59 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 2001-03-26 00:41:59 +0000 |
commit | 303c7ab9744adad063439b6c4e4e9cbf6cead172 (patch) | |
tree | c69934bce4c162ac6d7221b8351a20eb692e507d /misc | |
parent | 114d78ee7dc5fed786b684841c8b860410d4346d (diff) | |
download | pkgsrc-303c7ab9744adad063439b6c4e4e9cbf6cead172.tar.gz |
Add a hook to build with NetBSD native curses. Only works on NetBSD-1.5
and newer.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/pinfo/Makefile | 13 | ||||
-rw-r--r-- | misc/pinfo/files/patch-sum | 3 | ||||
-rw-r--r-- | misc/pinfo/patches/patch-ac | 13 |
3 files changed, 25 insertions, 4 deletions
diff --git a/misc/pinfo/Makefile b/misc/pinfo/Makefile index 7934cc71ef2..25ae2d633d5 100644 --- a/misc/pinfo/Makefile +++ b/misc/pinfo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2001/03/26 00:28:11 fredb Exp $ +# $NetBSD: Makefile,v 1.4 2001/03/26 00:41:59 fredb Exp $ # DISTNAME= pinfo-0.6.0 @@ -11,16 +11,23 @@ HOMEPAGE= http://zeus.polsl.gliwice.pl/~pborys/ COMMENT= Przemek's Info Viewer BUILD_DEPENDS+= msgfmt:../../devel/gettext -DEPENDS+= ncurses>=5.0:../../devel/ncurses GNU_CONFIGURE= yes USE_LIBINTL= yes CPPFLAGS+= -DDFLT_INFOPATH='\"/usr/share/info:${X11BASE}/info:${LOCALBASE}/info:/usr/local/info\"' -CONFIGURE_ARGS+= --with-ncurses=${LOCALBASE} CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" post-install: ${INSTALL_DATA} ${WRKSRC}/src/pinforc ${PREFIX}/share/examples/ +.include "../../mk/bsd.prefs.mk" + +.if defined(PINFO_USE_NATIVE_CURSES) && ${PINFO_USE_NATIVE_CURSES} == "YES" +CONFIGURE_ARGS+= --with-vcurses +.else +DEPENDS+= ncurses>=5.0:../../devel/ncurses +CONFIGURE_ARGS+= --with-ncurses=${LOCALBASE} +.endif + .include "../../mk/bsd.pkg.mk" diff --git a/misc/pinfo/files/patch-sum b/misc/pinfo/files/patch-sum index 90b29bd2ecd..1292b64337b 100644 --- a/misc/pinfo/files/patch-sum +++ b/misc/pinfo/files/patch-sum @@ -1,4 +1,5 @@ -$NetBSD: patch-sum,v 1.2 2001/03/26 00:28:12 fredb Exp $ +$NetBSD: patch-sum,v 1.3 2001/03/26 00:41:59 fredb Exp $ SHA1 (patch-aa) = e2d7d0e8ccbe5db276fb736d22682bb8f719eb98 SHA1 (patch-ab) = f089af56a969af630e2cb886aa8fb40be055eca7 +SHA1 (patch-ac) = 7dbddcf81e9ad6ff00dadd8a93cf2c160992ce75 diff --git a/misc/pinfo/patches/patch-ac b/misc/pinfo/patches/patch-ac new file mode 100644 index 00000000000..61ed6681cb3 --- /dev/null +++ b/misc/pinfo/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2001/03/26 00:41:59 fredb Exp $ + +--- src/pinforc.in.orig Sun Oct 31 07:32:56 1999 ++++ src/pinforc.in +@@ -35,7 +35,7 @@ + KEY_UP_2='k' + KEY_TWOUP_1=KEY_IC + KEY_TWOUP_2=0 +-KEY_END_1=KEY_END ++#KEY_END_1=KEY_END + KEY_END_2='e' + KEY_PGDN_1=KEY_NPAGE + KEY_PGDN_2=' ' |