aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql-devel/Makefile
diff options
context:
space:
mode:
authorBill Fumerola <billf@FreeBSD.org>1998-12-23 17:37:03 +0000
committerBill Fumerola <billf@FreeBSD.org>1998-12-23 17:37:03 +0000
commit0416cf4f666c39196ed7501a4cd21d9e69e85223 (patch)
treee43b1992f5002ada3504f808213ae21536a9b8b6 /databases/postgresql-devel/Makefile
parentc2564d4b0826aa229c82cb15645586b5a37a590b (diff)
downloadports-0416cf4f666c39196ed7501a4cd21d9e69e85223.tar.gz
ports-0416cf4f666c39196ed7501a4cd21d9e69e85223.zip
respect CFLAGS, not set it.
PR: ports/8803 (sorta) Reviewed by: Scrappy (sorta) Submitted by: billf
Notes
Notes: svn path=/head/; revision=15532
Diffstat (limited to 'databases/postgresql-devel/Makefile')
-rw-r--r--databases/postgresql-devel/Makefile9
1 files changed, 8 insertions, 1 deletions
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 <scrappy@FreeBSD.ORG>
#
-# $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 !!"