This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: Please test: postgresql-8.1.4-1 (new layout)
Reini Urban schrieb:
...
Binary packages will be almost the same, just -contrib missed the *.sql
files. Attached is the diff for postgresql-8.1.4-2.cygport
Sorry, this IS the diff now.
--- postgresql-8.1.4-1.cygport 2006-06-06 05:43:23.633000000 +0000
+++ postgresql-8.1.4-2.cygport 2006-06-06 06:00:24.383000000 +0000
@@ -4,6 +4,7 @@
SRC_URI="ftp://ftp.de.postgresql.org/mirror/postgresql/source/v${PV}/${PN}-${PV}.tar.bz2"
#CVS_URI="..."
+MAKEOPTS="$(MAKEOPTS) -j1"
PACKAGE_BUGREPORT="cygwin@cygwin.com"
LDFLAGS="${LDFLAGS} -Wl,--enable-auto-image-base"
CYGCONF_ARGS="--enable-nls --with-CXX --with-openssl --with-perl --with-python"
@@ -14,6 +15,7 @@
libpq4 libpq-devel libpgtypes2 libecpg5 libecpg-compat2 libecpg-devel"
# ${PN}-pltcl
PKG_HINTS="${PKG_NAMES}"
+
# postgresql
PKG_CONTENTS[0]=" \
--exclude=usr/share/postgresql/contrib \
@@ -98,6 +100,7 @@
--exclude=usr/lib/postgresql/pgxs/ \
--exclude=usr/lib/postgresql/pl*.dll \
usr/lib/postgresql/ \
+usr/share/postgresql/contrib/ \
usr/share/doc/${P}/contrib/"
# ${PN}-doc
@@ -176,7 +179,7 @@
src_test() {
cd ${B}
- make check
+ make -j1 check
}
src_install() {
@@ -199,5 +202,5 @@
cp -r ${S}/doc/src/FAQ ${D}/usr/share/doc/${P}/
- make -C contrib install DESTDIR=${D} bindir=/usr/lib/postgresql/bin/ docdir=/usr/share/doc/${P}/
+ make -j1 -C contrib install DESTDIR=${D} bindir=/usr/lib/postgresql/bin/ docdir=/usr/share/doc/${P}/
}