summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjoerg <joerg>2006-06-20 21:14:12 +0000
committerjoerg <joerg>2006-06-20 21:14:12 +0000
commit35cbe0d291af27311d1dbfe7e2f46855ba0af8f6 (patch)
tree85b9d969cdd5394eae4be232ad9337e8a3559d46 /databases
parent0d0dc26e50380bdad30b701e65b8a21ec32a5bbd (diff)
downloadpkgsrc-35cbe0d291af27311d1dbfe7e2f46855ba0af8f6.tar.gz
Force a dependency on the PostgreSQL server. Add DragonFly support.
Bump revision.
Diffstat (limited to 'databases')
-rw-r--r--databases/slony1/Makefile8
-rw-r--r--databases/slony1/distinfo3
-rw-r--r--databases/slony1/patches/patch-aa12
3 files changed, 21 insertions, 2 deletions
diff --git a/databases/slony1/Makefile b/databases/slony1/Makefile
index a1458846bdd..5fc4f2c6ffe 100644
--- a/databases/slony1/Makefile
+++ b/databases/slony1/Makefile
@@ -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 @@ MAINTAINER= adam@NetBSD.org
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-pglibdir=${PGSQL_PREFIX:Q}/lib
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 --git a/databases/slony1/distinfo b/databases/slony1/distinfo
index e72c0308aca..20d2697812f 100644
--- a/databases/slony1/distinfo
+++ b/databases/slony1/distinfo
@@ -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 --git a/databases/slony1/patches/patch-aa b/databases/slony1/patches/patch-aa
new file mode 100644
index 00000000000..9e1612854b7
--- /dev/null
+++ b/databases/slony1/patches/patch-aa
@@ -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)