Fix build problems when using WITH_THREADSAFE
This commit is contained in:
parent
38e287f770
commit
ac681feb0c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179118
@ -181,9 +181,8 @@ CONFIGURE_ARGS+=--with-krb5
|
||||
. endif
|
||||
. endif
|
||||
|
||||
. if (defined(SERVER_ONLY) && defined(WITH_TESTS)) || make(makesum)
|
||||
. if (defined(SERVER_ONLY) && defined(WITH_TESTS)) || defined(WITH_THREADSAFE) || make(makesum)
|
||||
DISTFILES+= postgresql-test-${PORTVERSION}${EXTRACT_SUFX}
|
||||
EXTRA_PATCHES= ${FILESDIR}/regresspatch-src-test-regress-pgregress-sh
|
||||
. endif
|
||||
|
||||
. if defined(WITH_THREADSAFE)
|
||||
|
@ -1,12 +0,0 @@
|
||||
--- src/test/regress/pg_regress.sh~ Sun Dec 12 16:34:15 2004
|
||||
+++ src/test/regress/pg_regress.sh Sat Jan 8 05:12:46 2005
|
||||
@@ -410,6 +410,9 @@
|
||||
(exit 2); exit
|
||||
fi
|
||||
|
||||
+ # make rest of this script happy
|
||||
+ echo "log_destination = 'stderr'" >> $PGDATA/postgresql.conf
|
||||
+ echo "silent_mode = false" >> $PGDATA/postgresql.conf
|
||||
|
||||
# ----------
|
||||
# Start postmaster
|
@ -181,9 +181,8 @@ CONFIGURE_ARGS+=--with-krb5
|
||||
. endif
|
||||
. endif
|
||||
|
||||
. if (defined(SERVER_ONLY) && defined(WITH_TESTS)) || make(makesum)
|
||||
. if (defined(SERVER_ONLY) && defined(WITH_TESTS)) || defined(WITH_THREADSAFE) || make(makesum)
|
||||
DISTFILES+= postgresql-test-${PORTVERSION}${EXTRACT_SUFX}
|
||||
EXTRA_PATCHES= ${FILESDIR}/regresspatch-src-test-regress-pgregress-sh
|
||||
. endif
|
||||
|
||||
. if defined(WITH_THREADSAFE)
|
||||
|
@ -1,12 +0,0 @@
|
||||
--- src/test/regress/pg_regress.sh~ Sun Dec 12 16:34:15 2004
|
||||
+++ src/test/regress/pg_regress.sh Sat Jan 8 05:12:46 2005
|
||||
@@ -410,6 +410,9 @@
|
||||
(exit 2); exit
|
||||
fi
|
||||
|
||||
+ # make rest of this script happy
|
||||
+ echo "log_destination = 'stderr'" >> $PGDATA/postgresql.conf
|
||||
+ echo "silent_mode = false" >> $PGDATA/postgresql.conf
|
||||
|
||||
# ----------
|
||||
# Start postmaster
|
@ -181,9 +181,8 @@ CONFIGURE_ARGS+=--with-krb5
|
||||
. endif
|
||||
. endif
|
||||
|
||||
. if (defined(SERVER_ONLY) && defined(WITH_TESTS)) || make(makesum)
|
||||
. if (defined(SERVER_ONLY) && defined(WITH_TESTS)) || defined(WITH_THREADSAFE) || make(makesum)
|
||||
DISTFILES+= postgresql-test-${PORTVERSION}${EXTRACT_SUFX}
|
||||
EXTRA_PATCHES= ${FILESDIR}/regresspatch-src-test-regress-pgregress-sh
|
||||
. endif
|
||||
|
||||
. if defined(WITH_THREADSAFE)
|
||||
|
@ -1,12 +0,0 @@
|
||||
--- src/test/regress/pg_regress.sh~ Sun Dec 12 16:34:15 2004
|
||||
+++ src/test/regress/pg_regress.sh Sat Jan 8 05:12:46 2005
|
||||
@@ -410,6 +410,9 @@
|
||||
(exit 2); exit
|
||||
fi
|
||||
|
||||
+ # make rest of this script happy
|
||||
+ echo "log_destination = 'stderr'" >> $PGDATA/postgresql.conf
|
||||
+ echo "silent_mode = false" >> $PGDATA/postgresql.conf
|
||||
|
||||
# ----------
|
||||
# Start postmaster
|
@ -181,9 +181,8 @@ CONFIGURE_ARGS+=--with-krb5
|
||||
. endif
|
||||
. endif
|
||||
|
||||
. if (defined(SERVER_ONLY) && defined(WITH_TESTS)) || make(makesum)
|
||||
. if (defined(SERVER_ONLY) && defined(WITH_TESTS)) || defined(WITH_THREADSAFE) || make(makesum)
|
||||
DISTFILES+= postgresql-test-${PORTVERSION}${EXTRACT_SUFX}
|
||||
EXTRA_PATCHES= ${FILESDIR}/regresspatch-src-test-regress-pgregress-sh
|
||||
. endif
|
||||
|
||||
. if defined(WITH_THREADSAFE)
|
||||
|
@ -1,12 +0,0 @@
|
||||
--- src/test/regress/pg_regress.sh~ Sun Dec 12 16:34:15 2004
|
||||
+++ src/test/regress/pg_regress.sh Sat Jan 8 05:12:46 2005
|
||||
@@ -410,6 +410,9 @@
|
||||
(exit 2); exit
|
||||
fi
|
||||
|
||||
+ # make rest of this script happy
|
||||
+ echo "log_destination = 'stderr'" >> $PGDATA/postgresql.conf
|
||||
+ echo "silent_mode = false" >> $PGDATA/postgresql.conf
|
||||
|
||||
# ----------
|
||||
# Start postmaster
|
@ -181,9 +181,8 @@ CONFIGURE_ARGS+=--with-krb5
|
||||
. endif
|
||||
. endif
|
||||
|
||||
. if (defined(SERVER_ONLY) && defined(WITH_TESTS)) || make(makesum)
|
||||
. if (defined(SERVER_ONLY) && defined(WITH_TESTS)) || defined(WITH_THREADSAFE) || make(makesum)
|
||||
DISTFILES+= postgresql-test-${PORTVERSION}${EXTRACT_SUFX}
|
||||
EXTRA_PATCHES= ${FILESDIR}/regresspatch-src-test-regress-pgregress-sh
|
||||
. endif
|
||||
|
||||
. if defined(WITH_THREADSAFE)
|
||||
|
@ -1,12 +0,0 @@
|
||||
--- src/test/regress/pg_regress.sh~ Sun Dec 12 16:34:15 2004
|
||||
+++ src/test/regress/pg_regress.sh Sat Jan 8 05:12:46 2005
|
||||
@@ -410,6 +410,9 @@
|
||||
(exit 2); exit
|
||||
fi
|
||||
|
||||
+ # make rest of this script happy
|
||||
+ echo "log_destination = 'stderr'" >> $PGDATA/postgresql.conf
|
||||
+ echo "silent_mode = false" >> $PGDATA/postgresql.conf
|
||||
|
||||
# ----------
|
||||
# Start postmaster
|
@ -181,9 +181,8 @@ CONFIGURE_ARGS+=--with-krb5
|
||||
. endif
|
||||
. endif
|
||||
|
||||
. if (defined(SERVER_ONLY) && defined(WITH_TESTS)) || make(makesum)
|
||||
. if (defined(SERVER_ONLY) && defined(WITH_TESTS)) || defined(WITH_THREADSAFE) || make(makesum)
|
||||
DISTFILES+= postgresql-test-${PORTVERSION}${EXTRACT_SUFX}
|
||||
EXTRA_PATCHES= ${FILESDIR}/regresspatch-src-test-regress-pgregress-sh
|
||||
. endif
|
||||
|
||||
. if defined(WITH_THREADSAFE)
|
||||
|
@ -1,12 +0,0 @@
|
||||
--- src/test/regress/pg_regress.sh~ Sun Dec 12 16:34:15 2004
|
||||
+++ src/test/regress/pg_regress.sh Sat Jan 8 05:12:46 2005
|
||||
@@ -410,6 +410,9 @@
|
||||
(exit 2); exit
|
||||
fi
|
||||
|
||||
+ # make rest of this script happy
|
||||
+ echo "log_destination = 'stderr'" >> $PGDATA/postgresql.conf
|
||||
+ echo "silent_mode = false" >> $PGDATA/postgresql.conf
|
||||
|
||||
# ----------
|
||||
# Start postmaster
|
Loading…
Reference in New Issue
Block a user