pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/slony1 Force a dependency on the PostgreSQL ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3be4953d584a
branches:  trunk
changeset: 514919:3be4953d584a
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jun 20 21:14:12 2006 +0000

description:
Force a dependency on the PostgreSQL server. Add DragonFly support.
Bump revision.

diffstat:

 databases/slony1/Makefile         |   8 +++++++-
 databases/slony1/distinfo         |   3 ++-
 databases/slony1/patches/patch-aa |  12 ++++++++++++
 3 files changed, 21 insertions(+), 2 deletions(-)

diffs (58 lines):

diff -r db33732fd1e7 -r 3be4953d584a databases/slony1/Makefile
--- a/databases/slony1/Makefile Tue Jun 20 20:48:35 2006 +0000
+++ b/databases/slony1/Makefile Tue Jun 20 21:14:12 2006 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/06/02 15:05:16 adam Exp $
+# $NetBSD: Makefile,v 1.2 2006/06/20 21:14:12 joerg Exp $
 
 DISTNAME=      slony1-1.1.5
+PKGREVISION=   1
 CATEGORIES=    databases
 MASTER_SITES=  http://developer.postgresql.org/~wieck/slony1/download/
 EXTRACT_SUFX=  .tar.bz2
@@ -9,6 +10,8 @@
 HOMEPAGE=      http://gborg.postgresql.org/project/slony1/
 COMMENT=       Replication system for PostgreSQL
 
+DEPENDS+=      postgresql${PGSQL_VERSION}-server-[0-9]*:../../databases/postgresql${PGSQL_VERSION}-server
+
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --with-pgconfigdir=${PGSQL_PREFIX:Q}/bin
 CONFIGURE_ARGS+=       --with-pgbindir=${PGSQL_PREFIX:Q}/bin
@@ -18,6 +21,9 @@
 CONFIGURE_ARGS+=       --with-pgpkglibdir=${PGSQL_PREFIX:Q}/lib/postgresql
 CONFIGURE_ARGS+=       --with-pgsharedir=${PGSQL_PREFIX:Q}/share/postgresql
 
+post-extract:
+       ${CP} ${WRKSRC}/makefiles/Makefile.freebsd ${WRKSRC}/makefiles/Makefile.dragonfly
+
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/share/slon.conf-sample \
                ${PGSQL_PREFIX:Q}/share/postgresql
diff -r db33732fd1e7 -r 3be4953d584a databases/slony1/distinfo
--- a/databases/slony1/distinfo Tue Jun 20 20:48:35 2006 +0000
+++ b/databases/slony1/distinfo Tue Jun 20 21:14:12 2006 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/06/02 15:05:16 adam Exp $
+$NetBSD: distinfo,v 1.2 2006/06/20 21:14:12 joerg Exp $
 
 SHA1 (slony1-1.1.5.tar.bz2) = 19f42fbd3c92f299b65803adcebfed5b508c236b
 RMD160 (slony1-1.1.5.tar.bz2) = 207e81a8f30366810cb63ddb256f324415cad1f1
 Size (slony1-1.1.5.tar.bz2) = 610569 bytes
+SHA1 (patch-aa) = c2352cffa859b879c969a51b5148fac96ab80391
diff -r db33732fd1e7 -r 3be4953d584a databases/slony1/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/slony1/patches/patch-aa Tue Jun 20 21:14:12 2006 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1 2006/06/20 21:14:12 joerg Exp $
+
+--- configure.orig     2006-06-20 20:52:37.000000000 +0000
++++ configure
+@@ -1423,6 +1423,7 @@ case $host_os in
+   darwin*) template=darwin ;;
+     dgux*) template=dgux ;;
+  freebsd*) template=freebsd ;;
++ dragonfly*) template=dragonfly ;;
+     hpux*) template=hpux ;;
+     irix*) template=irix ;;
+    linux*|gnu*|k*bsd*-gnu)



Home | Main Index | Thread Index | Old Index