pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gambas3-gb-ncurses: Add patch to find the ncurses library
Module Name: pkgsrc-wip
Committed By: bgermann <bastiangermann%fishpost.de@localhost>
Pushed By: bgermann
Date: Thu Sep 6 20:41:57 2018 +0200
Changeset: 443e2936c268280fc31d079fb64cbb24168eede1
Modified Files:
gambas3-gb-ncurses/Makefile
gambas3/distinfo
Added Files:
gambas3/patches/patch-gb.ncurses_configure.ac
Log Message:
gambas3-gb-ncurses: Add patch to find the ncurses library
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=443e2936c268280fc31d079fb64cbb24168eede1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gambas3-gb-ncurses/Makefile | 2 +-
gambas3/distinfo | 1 +
gambas3/patches/patch-gb.ncurses_configure.ac | 20 ++++++++++++++++++++
3 files changed, 22 insertions(+), 1 deletion(-)
diffs:
diff --git a/gambas3-gb-ncurses/Makefile b/gambas3-gb-ncurses/Makefile
index 71fde69a36..da944dffec 100644
--- a/gambas3-gb-ncurses/Makefile
+++ b/gambas3-gb-ncurses/Makefile
@@ -7,5 +7,5 @@ PKGNAME= gambas3-gb-ncurses-${GB_VERSION}
MAINTAINER= bastiangermann%fishpost.de@localhost
COMMENT= NCurses library for Gambas
-.include "../../mk/curses.buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/gambas3/distinfo b/gambas3/distinfo
index d63cd8b8e4..a28ddb41b7 100644
--- a/gambas3/distinfo
+++ b/gambas3/distinfo
@@ -4,4 +4,5 @@ SHA1 (gambas-a24dc9807f3d8342a67db051ade89e23ca79d8fc.tar.gz) = 280594f72c4cefb9
RMD160 (gambas-a24dc9807f3d8342a67db051ade89e23ca79d8fc.tar.gz) = 3a1a2824ca9dd30e304ae6507718da0c38c3f789
SHA512 (gambas-a24dc9807f3d8342a67db051ade89e23ca79d8fc.tar.gz) = f488f7dcc00f89fddb55aef046f989a4a812a32cd81ab81187d9c9164ae2cacc2f6768e59ef530d934698ff2be5822acb70d6c10eda82bbba2c5490c84d9d9f3
Size (gambas-a24dc9807f3d8342a67db051ade89e23ca79d8fc.tar.gz) = 14971800 bytes
+SHA1 (patch-gb.ncurses_configure.ac) = 782985f2b36623fbbec2db8c59a9a479d3b0f9dd
SHA1 (patch-gb.v4l_configure.ac) = c03073a9e9db26145ef05674019d7aaa572901c5
diff --git a/gambas3/patches/patch-gb.ncurses_configure.ac b/gambas3/patches/patch-gb.ncurses_configure.ac
new file mode 100644
index 0000000000..210a2daf54
--- /dev/null
+++ b/gambas3/patches/patch-gb.ncurses_configure.ac
@@ -0,0 +1,20 @@
+$NetBSD$
+
+Find package without pkg-config
+
+--- gb.ncurses/configure.ac.orig 2018-09-01 18:21:27.000000000 +0000
++++ gb.ncurses/configure.ac
+@@ -7,9 +7,11 @@ AC_CONFIG_MACRO_DIR([m4])
+ GB_INIT(gb.ncurses)
+ AC_PROG_LIBTOOL
+
+-GB_COMPONENT_PKG_CONFIG(
++GB_COMPONENT(
+ ncurses, NCURSES, gb.ncurses, [src],
+- ncurses panel)
++ [GB_FIND(ncurses.h panel.h, $prefix /usr/lib /usr, include)],
++ [GB_FIND(libncurses.$SHLIBEXT libpanel.$SHLIBEXT, $prefix /usr/local /usr, lib)],
++ [-lpanel -lncurses])
+
+ AC_OUTPUT( \
+ Makefile \
Home |
Main Index |
Thread Index |
Old Index