Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -0,0 +1,3 @@
SQLite 3 driver for the Qore language DBI system, using this module Qore
programs can access SQLite 3 file and in-memory databases using the
Datasource and DatasourcePool classes.

View File

@@ -0,0 +1,31 @@
# $NetBSD: Makefile,v 1.1 2014/12/30 15:45:04 wiz Exp $
DISTNAME= qore-sqlite3-module-1.0.1
PKGREVISION= 4
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qore/}
MAINTAINER= nros@users.sourceforge.net
HOMEPAGE= http://www.qore.org/
COMMENT= SQLite module for Qore
LICENSE= gnu-lgpl-v2.1
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
PTHREAD_OPTS+= native
CONFIGURE_ARGS+=--with-sqlite3=${BUILDLINK_PREFIX.sqlite3}
INSTALLATION_DIRS+= share/doc/${PKGBASE}
post-install:
${INSTALL_DATA} ${WRKSRC}/docs/sqlite3-module-doc.html \
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
.include "options.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../lang/qore/buildlink3.mk"
.include "../../lang/qore/module.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1 2014/12/30 15:45:04 wiz Exp $
${QORE_MODULE_DIR}/sqlite3-api-${QORE_MODULE_API}.qmod
share/doc/${PKGBASE}/sqlite3-module-doc.html

View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.1 2014/12/30 15:45:04 wiz Exp $
SHA1 (qore-sqlite3-module-1.0.1.tar.gz) = 47572df91050c029fb62be4797354e8d2398853c
RMD160 (qore-sqlite3-module-1.0.1.tar.gz) = 1e702691fdf4cdc51157f1549218ffb1ced50eb5
Size (qore-sqlite3-module-1.0.1.tar.gz) = 441570 bytes
SHA1 (patch-configure) = 4cc1966b52fff9dc44aef00ab73afc4d655677f8
SHA1 (patch-src_Makefile.in) = 332107621db7378d837d59d4fb76bb7c4aa53c3d

View File

@@ -0,0 +1,12 @@
# $NetBSD: options.mk,v 1.1 2014/12/30 15:45:04 wiz Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.qore-sqlite3-module
PKG_SUPPORTED_OPTIONS= debug
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug
.else
CONFIGURE_ARGS+= --disable-debug
.endif

View File

@@ -0,0 +1,24 @@
$NetBSD: patch-configure,v 1.1 2014/12/30 15:45:05 wiz Exp $
* pkgsarc doesn't use lib64 so don't set it (fixes build on linux)
http://sf.net/p/qore/code/6817/
* fix typo so that --with-sqlite3 works correctly
http://sourceforge.net/p/qore/code/6348/
--- configure.orig 2010-06-20 09:09:23.000000000 +0000
+++ configure
@@ -14259,7 +14259,6 @@ if test "$enable_64bit" = "yes"; then
*linux*) if test "$GXX" = "yes"; then
CXXFLAGS="$CXXFLAGS -m64"
fi
- LIBSUFFIX=64
;;
*hpux*) if test "$host_cpu" = "ia64"; then
@@ -14717,7 +14716,7 @@ fi
# Check whether --with-sqlite3 was given.
if test "${with_sqlite3+set}" = set; then :
- withval=$with_sqlite3; if test ! -d "${with_sqlite3l}"; then as_fn_error "directory ${with_sqlite3} does not exist for --with-sqlite3" "$LINENO" 5; unset with_sqlite3; fi
+ withval=$with_sqlite3; if test ! -d "${with_sqlite3}"; then as_fn_error "directory ${with_sqlite3} does not exist for --with-sqlite3" "$LINENO" 5; unset with_sqlite3; fi
fi

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-src_Makefile.in,v 1.1 2014/12/30 15:45:05 wiz Exp $
* don't install .a file
http://sourceforge.net/p/qore/code/6290/
--- src/Makefile.in.orig 2014-02-16 17:29:57.000000000 +0000
+++ src/Makefile.in
@@ -545,7 +545,7 @@ uninstall-am: uninstall-libLTLIBRARIES
install-exec-hook:
mv $(DESTDIR)$(libdir)/sqlite3.$(MODULE_SUFFIX) $(DESTDIR)$(libdir)/sqlite3-api-$(MODULE_API).qmod
- rm -f $(DESTDIR)$(libdir)/sqlite3.la
+ rm -f $(DESTDIR)$(libdir)/sqlite3.la $(DESTDIR)$(libdir)/sqlite3.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.