diff options
author | wiz <wiz> | 2014-12-30 15:50:28 +0000 |
---|---|---|
committer | wiz <wiz> | 2014-12-30 15:50:28 +0000 |
commit | ab8d8bfc1435a92e2b96b721630190bbf1596596 (patch) | |
tree | cee102c48f8ed93da3f66c5eafd621ce0489bf04 /textproc/qore-json-module/patches | |
parent | 2ed182e83c276092f36202faf70ac5365e4a42f0 (diff) | |
download | pkgsrc-ab8d8bfc1435a92e2b96b721630190bbf1596596.tar.gz |
Import qore-json-module-1.4nb4 as textproc/qore-json-module, packaged
for wip by nros.
JSON module for the Qore language that provides (de)serialization to
JSON and RPC support.
Diffstat (limited to 'textproc/qore-json-module/patches')
-rw-r--r-- | textproc/qore-json-module/patches/patch-configure | 21 | ||||
-rw-r--r-- | textproc/qore-json-module/patches/patch-src_Makefile.in | 13 |
2 files changed, 34 insertions, 0 deletions
diff --git a/textproc/qore-json-module/patches/patch-configure b/textproc/qore-json-module/patches/patch-configure new file mode 100644 index 00000000000..3980c856ae4 --- /dev/null +++ b/textproc/qore-json-module/patches/patch-configure @@ -0,0 +1,21 @@ +$NetBSD: patch-configure,v 1.1 2014/12/30 15:50:28 wiz Exp $ +pkgsrc doesn't use lib64 so don't set it. +fixes build on linux. +http://sf.net/p/qore/code/6817/ +--- configure.orig 2014-10-31 21:35:17.242695818 +0000 ++++ configure +@@ -15669,14 +15669,6 @@ if test "$enable_64bit" = "yes"; then + *linux*) if test "$GXX" = "yes"; then + CXXFLAGS="$CXXFLAGS -m64" + fi +- # only set LIBSUFFIX=64 if /usr/lib64 exists +- if test -d /usr/lib64; then +- LIBSUFFIX=64 +- fi +- target="${host_cpu}-${host_os}" +- if test -d /usr/lib/$target; then +- LIBSUFFIX=/$target +- fi + + ;; + *hpux*) if test "$host_cpu" = "ia64"; then diff --git a/textproc/qore-json-module/patches/patch-src_Makefile.in b/textproc/qore-json-module/patches/patch-src_Makefile.in new file mode 100644 index 00000000000..0fdf36ec5a0 --- /dev/null +++ b/textproc/qore-json-module/patches/patch-src_Makefile.in @@ -0,0 +1,13 @@ +$NetBSD: patch-src_Makefile.in,v 1.1 2014/12/30 15:50:28 wiz Exp $ +*delete the .a file as well as the .la file +--- src/Makefile.in.orig 2013-09-05 14:23:58.000000000 +0000 ++++ src/Makefile.in +@@ -672,7 +672,7 @@ uninstall-am: uninstall-libLTLIBRARIES + + install-exec-hook: + mv $(DESTDIR)$(libdir)/$(MNAME).$(MODULE_SUFFIX) $(DESTDIR)$(libdir)/$(MNAME)-api-$(MODULE_API).qmod +- $(RM) $(DESTDIR)$(libdir)/$(MNAME).la $(RM_OTHER) ++ $(RM) $(DESTDIR)$(libdir)/$(MNAME).la $(RM_OTHER) $(DESTDIR)$(libdir)/$(MNAME).a + + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. |