pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/26600: new package libgda-sqlite, patch for libgda



>Number:         26600
>Category:       pkg
>Synopsis:       enhancement to the databases/libgda package/new pkg 
>databases/libgda-sqlite
>Confidential:   yes
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 09 04:30:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD saruman 2.0_BETA NetBSD 2.0_BETA (GENERIC_LAPTOP) #0: Sat Jul 24 
01:34:08 UTC 2004 
autobuild%tgm.netbsd.org@localhost:/autobuild/netbsd-2-0/i386/OBJ/autobuild/netbsd-2-0/src/sys/arch/i386/compile/GENERIC_LAPTOP
 i386
Architecture: i386
Machine: i386
>Description:
This package installs an additional plugin to libgda. Actual a tiny change to
libgda is required to make it work.
>How-To-Repeat:
        
>Fix:
Apply the following patch to libgda. This patch enables support for
other plugins than postgres to libgda:

------------- cut here -----------------------------------------------------
--- Makefile.common.orig        2004-07-11 09:52:26.000000000 +0200
+++ Makefile.common             2004-08-02 22:12:03.000000000 +0200
@@ -31,8 +31,10 @@
 PKGNAME=               ${DISTNAME:S/libgda-/libgda-${LIBGDA_PROVIDER}-/}
 COMMENT+=              - ${LIBGDA_PROVIDER} provider
 
-BUILD_DIRS=            ${WRKSRC}/providers/postgres
-INSTALL_DIRS=          ${WRKSRC}/providers/postgres
+#BUILD_DIRS=           ${WRKSRC}/providers/postgres
+#INSTALL_DIRS=         ${WRKSRC}/providers/postgres
+BUILD_DIRS=            ${WRKSRC}/providers/${LIBGDA_PROVIDER}
+INSTALL_DIRS=          ${WRKSRC}/providers/${LIBGDA_PROVIDER}
 
 SUBST_CLASSES+=                libs
 SUBST_STAGE.libs=      pre-configure
------------- cut here -----------------------------------------------------

Here are the files for the new package libgda-sqlite:

DESCR:
------------- cut here -----------------------------------------------------
This package provides the sqlite plugin for libgda, which lets it act as
an sqlite application.
------------- cut here -----------------------------------------------------

Makefile:
------------- cut here -----------------------------------------------------
# $Id:$
#

LIBGDA_PROVIDER=        sqlite

.include "../../databases/libgda/Makefile.common"

CONFIGURE_ARGS+=        --with-sqlite=${LOCALBASE}

.include "../../databases/sqlite/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
------------- cut here -----------------------------------------------------

PLIST:
------------- cut here -----------------------------------------------------
@comment $Id:$
lib/libgda/providers/libgda-sqlite.a
lib/libgda/providers/libgda-sqlite.la
lib/libgda/providers/libgda-sqlite.so
@comment in libgda: @dirrm lib/libgda/providers
------------- cut here -----------------------------------------------------
>Release-Note:
>Audit-Trail:
>Unformatted:



Home | Main Index | Thread Index | Old Index