aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2012-08-19 23:24:30 +0800
committercrees <crees@FreeBSD.org>2012-08-19 23:24:30 +0800
commit7ee4bc3e3d1da2fc59a90ec322e8a76535ec600d (patch)
treedd19765aab1581bd50377e57bb34efac6282869a
parentbedec476656ec40f5476c4f926c4613dcc4043f7 (diff)
downloadfreebsd-ports-gnome-7ee4bc3e3d1da2fc59a90ec322e8a76535ec600d.tar.gz
freebsd-ports-gnome-7ee4bc3e3d1da2fc59a90ec322e8a76535ec600d.tar.zst
freebsd-ports-gnome-7ee4bc3e3d1da2fc59a90ec322e8a76535ec600d.zip
Use pre-build instead of pre-everything for backupwarning-- stop making people
wait before fetching etc Suggested by: ohauer Discussed with: girgen While here, fix package for postgresql92-server
-rw-r--r--databases/postgresql83-server/Makefile3
-rw-r--r--databases/postgresql84-server/Makefile8
-rw-r--r--databases/postgresql91-server/Makefile2
-rw-r--r--databases/postgresql92-server/Makefile2
-rw-r--r--databases/postgresql92-server/pkg-plist-server2
5 files changed, 9 insertions, 8 deletions
diff --git a/databases/postgresql83-server/Makefile b/databases/postgresql83-server/Makefile
index 75ecd1b53702..4405e581d344 100644
--- a/databases/postgresql83-server/Makefile
+++ b/databases/postgresql83-server/Makefile
@@ -37,6 +37,9 @@ MAN7= alter_operator_family.7 alter_text_search_configuration.7 \
.if !defined(NO_BUILD)
pre-build:
+. if defined(SERVER_ONLY)
+ @${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
+. endif
@ cd ${WRKSRC}/src/backend ;\
${GMAKE} ../../src/include/parser/parse.h \
../../src/include/utils/fmgroids.h
diff --git a/databases/postgresql84-server/Makefile b/databases/postgresql84-server/Makefile
index 8f1932419e52..5c73039463cf 100644
--- a/databases/postgresql84-server/Makefile
+++ b/databases/postgresql84-server/Makefile
@@ -303,11 +303,6 @@ SUB_LIST+= PG_GROUP=${PG_GROUP} \
PG_USER=${PG_USER} \
PG_UID=${PG_UID}
-.if defined(SERVER_ONLY)
-pre-everything::
- @${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
-.endif
-
.if !defined(NO_BUILD)
pre-configure:
@@ -319,6 +314,9 @@ pre-configure:
.if !target(pre-build)
pre-build:
+. if defined(SERVER_ONLY)
+ @${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
+. endif
@ cd ${WRKSRC}/src/backend && ${SETENV} ${MAKE_ENV} ${GMAKE} symlinks
.endif
diff --git a/databases/postgresql91-server/Makefile b/databases/postgresql91-server/Makefile
index f0f8d2f5fee2..2aec2b5cac24 100644
--- a/databases/postgresql91-server/Makefile
+++ b/databases/postgresql91-server/Makefile
@@ -330,7 +330,7 @@ SUB_LIST+= PG_GROUP=${PG_GROUP} \
PG_UID=${PG_UID}
.if defined(SERVER_ONLY)
-pre-everything::
+pre-build:
@${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
.endif
diff --git a/databases/postgresql92-server/Makefile b/databases/postgresql92-server/Makefile
index 4bd14fce2d44..8568a41b8131 100644
--- a/databases/postgresql92-server/Makefile
+++ b/databases/postgresql92-server/Makefile
@@ -333,7 +333,7 @@ SUB_LIST+= PG_GROUP=${PG_GROUP} \
PG_UID=${PG_UID}
.if defined(SERVER_ONLY)
-pre-everything::
+pre-build:
@${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
.endif
diff --git a/databases/postgresql92-server/pkg-plist-server b/databases/postgresql92-server/pkg-plist-server
index dcd3b61ec17a..718b661324ae 100644
--- a/databases/postgresql92-server/pkg-plist-server
+++ b/databases/postgresql92-server/pkg-plist-server
@@ -112,7 +112,7 @@ share/postgresql/extension/plpgsql.control
%%GETTEXT%%share/locale/ro/LC_MESSAGES/pg_resetxlog-9.2.mo
%%GETTEXT%%share/locale/ro/LC_MESSAGES/plpgsql-9.2.mo
%%GETTEXT%%share/locale/ru/LC_MESSAGES/initdb-9.2.mo
-%%GETTEST%%share/locale/ru/LC_MESSAGES/pg_basebackup-9.2.mo
+%%GETTEXT%%share/locale/ru/LC_MESSAGES/pg_basebackup-9.2.mo
%%GETTEXT%%share/locale/ru/LC_MESSAGES/pg_controldata-9.2.mo
%%GETTEXT%%share/locale/ru/LC_MESSAGES/pg_ctl-9.2.mo
%%GETTEXT%%share/locale/ru/LC_MESSAGES/pg_resetxlog-9.2.mo