Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Aug 2012 15:24:30 +0000 (UTC)
From:      Chris Rees <crees@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302762 - in head/databases: postgresql83-server postgresql84-server postgresql91-server postgresql92-server
Message-ID:  <201208191524.q7JFOUoE000563@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: crees
Date: Sun Aug 19 15:24:30 2012
New Revision: 302762
URL: http://svn.freebsd.org/changeset/ports/302762

Log:
  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

Modified:
  head/databases/postgresql83-server/Makefile
  head/databases/postgresql84-server/Makefile
  head/databases/postgresql91-server/Makefile
  head/databases/postgresql92-server/Makefile
  head/databases/postgresql92-server/pkg-plist-server

Modified: head/databases/postgresql83-server/Makefile
==============================================================================
--- head/databases/postgresql83-server/Makefile	Sun Aug 19 15:08:19 2012	(r302761)
+++ head/databases/postgresql83-server/Makefile	Sun Aug 19 15:24:30 2012	(r302762)
@@ -37,6 +37,9 @@ MAN7=		alter_operator_family.7 alter_tex
 
 .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

Modified: head/databases/postgresql84-server/Makefile
==============================================================================
--- head/databases/postgresql84-server/Makefile	Sun Aug 19 15:08:19 2012	(r302761)
+++ head/databases/postgresql84-server/Makefile	Sun Aug 19 15:24:30 2012	(r302762)
@@ -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
 

Modified: head/databases/postgresql91-server/Makefile
==============================================================================
--- head/databases/postgresql91-server/Makefile	Sun Aug 19 15:08:19 2012	(r302761)
+++ head/databases/postgresql91-server/Makefile	Sun Aug 19 15:24:30 2012	(r302762)
@@ -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
 

Modified: head/databases/postgresql92-server/Makefile
==============================================================================
--- head/databases/postgresql92-server/Makefile	Sun Aug 19 15:08:19 2012	(r302761)
+++ head/databases/postgresql92-server/Makefile	Sun Aug 19 15:24:30 2012	(r302762)
@@ -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
 

Modified: head/databases/postgresql92-server/pkg-plist-server
==============================================================================
--- head/databases/postgresql92-server/pkg-plist-server	Sun Aug 19 15:08:19 2012	(r302761)
+++ head/databases/postgresql92-server/pkg-plist-server	Sun Aug 19 15:24:30 2012	(r302762)
@@ -112,7 +112,7 @@ share/postgresql/extension/plpgsql.contr
 %%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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208191524.q7JFOUoE000563>