From 0416cf4f666c39196ed7501a4cd21d9e69e85223 Mon Sep 17 00:00:00 2001 From: Bill Fumerola Date: Wed, 23 Dec 1998 17:37:03 +0000 Subject: respect CFLAGS, not set it. PR: ports/8803 (sorta) Reviewed by: Scrappy (sorta) Submitted by: billf --- databases/postgresql-devel-server/Makefile | 9 ++++++++- databases/postgresql-devel/Makefile | 9 ++++++++- databases/postgresql7/Makefile | 9 ++++++++- databases/postgresql73-server/Makefile | 9 ++++++++- databases/postgresql73/Makefile | 9 ++++++++- databases/postgresql74-server/Makefile | 9 ++++++++- databases/postgresql80-server/Makefile | 9 ++++++++- databases/postgresql81-server/Makefile | 9 ++++++++- databases/postgresql82-server/Makefile | 9 ++++++++- databases/postgresql83-server/Makefile | 9 ++++++++- databases/postgresql84-server/Makefile | 9 ++++++++- databases/postgresql90-server/Makefile | 9 ++++++++- databases/postgresql91-server/Makefile | 9 ++++++++- databases/postgresql92-server/Makefile | 9 ++++++++- 14 files changed, 112 insertions(+), 14 deletions(-) (limited to 'databases') diff --git a/databases/postgresql-devel-server/Makefile b/databases/postgresql-devel-server/Makefile index ede8d632cfc5..9ea0e248f1c3 100644 --- a/databases/postgresql-devel-server/Makefile +++ b/databases/postgresql-devel-server/Makefile @@ -3,7 +3,7 @@ # Date created: November 13, 1998 # Whom: Marc G. Fournier # -# $Id: Makefile,v 1.29 1998/11/22 21:33:19 scrappy Exp $ +# $Id: Makefile,v 1.30 1998/11/24 05:09:06 asami Exp $ # DISTNAME= postgresql-v6.4 @@ -66,6 +66,13 @@ pre-fetch: @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"." .endif +post-patch: + + @ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig + @ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \ + -e 's#USE_LOCALE:no#USE_LOCALE:yes#' \ + ${WRKSRC}/template/freebsd.orig >> ${WRKSRC}/template/freebsd + post-build: @ ${ECHO} "------------------------------------------------------------" @ ${ECHO} "Dump existing databases, before installing new db version !!" diff --git a/databases/postgresql-devel/Makefile b/databases/postgresql-devel/Makefile index ede8d632cfc5..9ea0e248f1c3 100644 --- a/databases/postgresql-devel/Makefile +++ b/databases/postgresql-devel/Makefile @@ -3,7 +3,7 @@ # Date created: November 13, 1998 # Whom: Marc G. Fournier # -# $Id: Makefile,v 1.29 1998/11/22 21:33:19 scrappy Exp $ +# $Id: Makefile,v 1.30 1998/11/24 05:09:06 asami Exp $ # DISTNAME= postgresql-v6.4 @@ -66,6 +66,13 @@ pre-fetch: @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"." .endif +post-patch: + + @ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig + @ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \ + -e 's#USE_LOCALE:no#USE_LOCALE:yes#' \ + ${WRKSRC}/template/freebsd.orig >> ${WRKSRC}/template/freebsd + post-build: @ ${ECHO} "------------------------------------------------------------" @ ${ECHO} "Dump existing databases, before installing new db version !!" diff --git a/databases/postgresql7/Makefile b/databases/postgresql7/Makefile index ede8d632cfc5..9ea0e248f1c3 100644 --- a/databases/postgresql7/Makefile +++ b/databases/postgresql7/Makefile @@ -3,7 +3,7 @@ # Date created: November 13, 1998 # Whom: Marc G. Fournier # -# $Id: Makefile,v 1.29 1998/11/22 21:33:19 scrappy Exp $ +# $Id: Makefile,v 1.30 1998/11/24 05:09:06 asami Exp $ # DISTNAME= postgresql-v6.4 @@ -66,6 +66,13 @@ pre-fetch: @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"." .endif +post-patch: + + @ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig + @ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \ + -e 's#USE_LOCALE:no#USE_LOCALE:yes#' \ + ${WRKSRC}/template/freebsd.orig >> ${WRKSRC}/template/freebsd + post-build: @ ${ECHO} "------------------------------------------------------------" @ ${ECHO} "Dump existing databases, before installing new db version !!" diff --git a/databases/postgresql73-server/Makefile b/databases/postgresql73-server/Makefile index ede8d632cfc5..9ea0e248f1c3 100644 --- a/databases/postgresql73-server/Makefile +++ b/databases/postgresql73-server/Makefile @@ -3,7 +3,7 @@ # Date created: November 13, 1998 # Whom: Marc G. Fournier # -# $Id: Makefile,v 1.29 1998/11/22 21:33:19 scrappy Exp $ +# $Id: Makefile,v 1.30 1998/11/24 05:09:06 asami Exp $ # DISTNAME= postgresql-v6.4 @@ -66,6 +66,13 @@ pre-fetch: @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"." .endif +post-patch: + + @ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig + @ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \ + -e 's#USE_LOCALE:no#USE_LOCALE:yes#' \ + ${WRKSRC}/template/freebsd.orig >> ${WRKSRC}/template/freebsd + post-build: @ ${ECHO} "------------------------------------------------------------" @ ${ECHO} "Dump existing databases, before installing new db version !!" diff --git a/databases/postgresql73/Makefile b/databases/postgresql73/Makefile index ede8d632cfc5..9ea0e248f1c3 100644 --- a/databases/postgresql73/Makefile +++ b/databases/postgresql73/Makefile @@ -3,7 +3,7 @@ # Date created: November 13, 1998 # Whom: Marc G. Fournier # -# $Id: Makefile,v 1.29 1998/11/22 21:33:19 scrappy Exp $ +# $Id: Makefile,v 1.30 1998/11/24 05:09:06 asami Exp $ # DISTNAME= postgresql-v6.4 @@ -66,6 +66,13 @@ pre-fetch: @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"." .endif +post-patch: + + @ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig + @ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \ + -e 's#USE_LOCALE:no#USE_LOCALE:yes#' \ + ${WRKSRC}/template/freebsd.orig >> ${WRKSRC}/template/freebsd + post-build: @ ${ECHO} "------------------------------------------------------------" @ ${ECHO} "Dump existing databases, before installing new db version !!" diff --git a/databases/postgresql74-server/Makefile b/databases/postgresql74-server/Makefile index ede8d632cfc5..9ea0e248f1c3 100644 --- a/databases/postgresql74-server/Makefile +++ b/databases/postgresql74-server/Makefile @@ -3,7 +3,7 @@ # Date created: November 13, 1998 # Whom: Marc G. Fournier # -# $Id: Makefile,v 1.29 1998/11/22 21:33:19 scrappy Exp $ +# $Id: Makefile,v 1.30 1998/11/24 05:09:06 asami Exp $ # DISTNAME= postgresql-v6.4 @@ -66,6 +66,13 @@ pre-fetch: @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"." .endif +post-patch: + + @ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig + @ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \ + -e 's#USE_LOCALE:no#USE_LOCALE:yes#' \ + ${WRKSRC}/template/freebsd.orig >> ${WRKSRC}/template/freebsd + post-build: @ ${ECHO} "------------------------------------------------------------" @ ${ECHO} "Dump existing databases, before installing new db version !!" diff --git a/databases/postgresql80-server/Makefile b/databases/postgresql80-server/Makefile index ede8d632cfc5..9ea0e248f1c3 100644 --- a/databases/postgresql80-server/Makefile +++ b/databases/postgresql80-server/Makefile @@ -3,7 +3,7 @@ # Date created: November 13, 1998 # Whom: Marc G. Fournier # -# $Id: Makefile,v 1.29 1998/11/22 21:33:19 scrappy Exp $ +# $Id: Makefile,v 1.30 1998/11/24 05:09:06 asami Exp $ # DISTNAME= postgresql-v6.4 @@ -66,6 +66,13 @@ pre-fetch: @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"." .endif +post-patch: + + @ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig + @ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \ + -e 's#USE_LOCALE:no#USE_LOCALE:yes#' \ + ${WRKSRC}/template/freebsd.orig >> ${WRKSRC}/template/freebsd + post-build: @ ${ECHO} "------------------------------------------------------------" @ ${ECHO} "Dump existing databases, before installing new db version !!" diff --git a/databases/postgresql81-server/Makefile b/databases/postgresql81-server/Makefile index ede8d632cfc5..9ea0e248f1c3 100644 --- a/databases/postgresql81-server/Makefile +++ b/databases/postgresql81-server/Makefile @@ -3,7 +3,7 @@ # Date created: November 13, 1998 # Whom: Marc G. Fournier # -# $Id: Makefile,v 1.29 1998/11/22 21:33:19 scrappy Exp $ +# $Id: Makefile,v 1.30 1998/11/24 05:09:06 asami Exp $ # DISTNAME= postgresql-v6.4 @@ -66,6 +66,13 @@ pre-fetch: @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"." .endif +post-patch: + + @ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig + @ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \ + -e 's#USE_LOCALE:no#USE_LOCALE:yes#' \ + ${WRKSRC}/template/freebsd.orig >> ${WRKSRC}/template/freebsd + post-build: @ ${ECHO} "------------------------------------------------------------" @ ${ECHO} "Dump existing databases, before installing new db version !!" diff --git a/databases/postgresql82-server/Makefile b/databases/postgresql82-server/Makefile index ede8d632cfc5..9ea0e248f1c3 100644 --- a/databases/postgresql82-server/Makefile +++ b/databases/postgresql82-server/Makefile @@ -3,7 +3,7 @@ # Date created: November 13, 1998 # Whom: Marc G. Fournier # -# $Id: Makefile,v 1.29 1998/11/22 21:33:19 scrappy Exp $ +# $Id: Makefile,v 1.30 1998/11/24 05:09:06 asami Exp $ # DISTNAME= postgresql-v6.4 @@ -66,6 +66,13 @@ pre-fetch: @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"." .endif +post-patch: + + @ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig + @ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \ + -e 's#USE_LOCALE:no#USE_LOCALE:yes#' \ + ${WRKSRC}/template/freebsd.orig >> ${WRKSRC}/template/freebsd + post-build: @ ${ECHO} "------------------------------------------------------------" @ ${ECHO} "Dump existing databases, before installing new db version !!" diff --git a/databases/postgresql83-server/Makefile b/databases/postgresql83-server/Makefile index ede8d632cfc5..9ea0e248f1c3 100644 --- a/databases/postgresql83-server/Makefile +++ b/databases/postgresql83-server/Makefile @@ -3,7 +3,7 @@ # Date created: November 13, 1998 # Whom: Marc G. Fournier # -# $Id: Makefile,v 1.29 1998/11/22 21:33:19 scrappy Exp $ +# $Id: Makefile,v 1.30 1998/11/24 05:09:06 asami Exp $ # DISTNAME= postgresql-v6.4 @@ -66,6 +66,13 @@ pre-fetch: @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"." .endif +post-patch: + + @ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig + @ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \ + -e 's#USE_LOCALE:no#USE_LOCALE:yes#' \ + ${WRKSRC}/template/freebsd.orig >> ${WRKSRC}/template/freebsd + post-build: @ ${ECHO} "------------------------------------------------------------" @ ${ECHO} "Dump existing databases, before installing new db version !!" diff --git a/databases/postgresql84-server/Makefile b/databases/postgresql84-server/Makefile index ede8d632cfc5..9ea0e248f1c3 100644 --- a/databases/postgresql84-server/Makefile +++ b/databases/postgresql84-server/Makefile @@ -3,7 +3,7 @@ # Date created: November 13, 1998 # Whom: Marc G. Fournier # -# $Id: Makefile,v 1.29 1998/11/22 21:33:19 scrappy Exp $ +# $Id: Makefile,v 1.30 1998/11/24 05:09:06 asami Exp $ # DISTNAME= postgresql-v6.4 @@ -66,6 +66,13 @@ pre-fetch: @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"." .endif +post-patch: + + @ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig + @ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \ + -e 's#USE_LOCALE:no#USE_LOCALE:yes#' \ + ${WRKSRC}/template/freebsd.orig >> ${WRKSRC}/template/freebsd + post-build: @ ${ECHO} "------------------------------------------------------------" @ ${ECHO} "Dump existing databases, before installing new db version !!" diff --git a/databases/postgresql90-server/Makefile b/databases/postgresql90-server/Makefile index ede8d632cfc5..9ea0e248f1c3 100644 --- a/databases/postgresql90-server/Makefile +++ b/databases/postgresql90-server/Makefile @@ -3,7 +3,7 @@ # Date created: November 13, 1998 # Whom: Marc G. Fournier # -# $Id: Makefile,v 1.29 1998/11/22 21:33:19 scrappy Exp $ +# $Id: Makefile,v 1.30 1998/11/24 05:09:06 asami Exp $ # DISTNAME= postgresql-v6.4 @@ -66,6 +66,13 @@ pre-fetch: @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"." .endif +post-patch: + + @ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig + @ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \ + -e 's#USE_LOCALE:no#USE_LOCALE:yes#' \ + ${WRKSRC}/template/freebsd.orig >> ${WRKSRC}/template/freebsd + post-build: @ ${ECHO} "------------------------------------------------------------" @ ${ECHO} "Dump existing databases, before installing new db version !!" diff --git a/databases/postgresql91-server/Makefile b/databases/postgresql91-server/Makefile index ede8d632cfc5..9ea0e248f1c3 100644 --- a/databases/postgresql91-server/Makefile +++ b/databases/postgresql91-server/Makefile @@ -3,7 +3,7 @@ # Date created: November 13, 1998 # Whom: Marc G. Fournier # -# $Id: Makefile,v 1.29 1998/11/22 21:33:19 scrappy Exp $ +# $Id: Makefile,v 1.30 1998/11/24 05:09:06 asami Exp $ # DISTNAME= postgresql-v6.4 @@ -66,6 +66,13 @@ pre-fetch: @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"." .endif +post-patch: + + @ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig + @ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \ + -e 's#USE_LOCALE:no#USE_LOCALE:yes#' \ + ${WRKSRC}/template/freebsd.orig >> ${WRKSRC}/template/freebsd + post-build: @ ${ECHO} "------------------------------------------------------------" @ ${ECHO} "Dump existing databases, before installing new db version !!" diff --git a/databases/postgresql92-server/Makefile b/databases/postgresql92-server/Makefile index ede8d632cfc5..9ea0e248f1c3 100644 --- a/databases/postgresql92-server/Makefile +++ b/databases/postgresql92-server/Makefile @@ -3,7 +3,7 @@ # Date created: November 13, 1998 # Whom: Marc G. Fournier # -# $Id: Makefile,v 1.29 1998/11/22 21:33:19 scrappy Exp $ +# $Id: Makefile,v 1.30 1998/11/24 05:09:06 asami Exp $ # DISTNAME= postgresql-v6.4 @@ -66,6 +66,13 @@ pre-fetch: @${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"." .endif +post-patch: + + @ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig + @ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \ + -e 's#USE_LOCALE:no#USE_LOCALE:yes#' \ + ${WRKSRC}/template/freebsd.orig >> ${WRKSRC}/template/freebsd + post-build: @ ${ECHO} "------------------------------------------------------------" @ ${ECHO} "Dump existing databases, before installing new db version !!" -- cgit v1.2.3