summaryrefslogtreecommitdiffstats
path: root/databases/postgresql83-server
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>1998-12-23 17:37:03 +0000
committerbillf <billf@FreeBSD.org>1998-12-23 17:37:03 +0000
commitfba55bde0e64b8ef32ab6ca411770ebe1f648901 (patch)
tree90892a07e1dda28b3f191dd38086972c0e541688 /databases/postgresql83-server
parent75029f93be797b96ba9486665d5445ab4f284373 (diff)
downloadFreeBSD-ports-fba55bde0e64b8ef32ab6ca411770ebe1f648901.zip
FreeBSD-ports-fba55bde0e64b8ef32ab6ca411770ebe1f648901.tar.gz
respect CFLAGS, not set it.
PR: ports/8803 (sorta) Reviewed by: Scrappy (sorta) Submitted by: billf
Diffstat (limited to 'databases/postgresql83-server')
-rw-r--r--databases/postgresql83-server/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/databases/postgresql83-server/Makefile b/databases/postgresql83-server/Makefile
index ede8d63..9ea0e24 100644
--- a/databases/postgresql83-server/Makefile
+++ b/databases/postgresql83-server/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 !!"
OpenPOWER on IntegriCloud