aboutsummaryrefslogtreecommitdiff
path: root/mail/gld
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2005-10-15 16:53:11 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2005-10-15 16:53:11 +0000
commitca4063eab14a9ac4b3a67e9d50068802a2902e85 (patch)
treee51537dde69704f4a4ab0a1958a5d6b481975413 /mail/gld
parentbe3657a2cd418fb6d2921c14fe7aa67eebdb0305 (diff)
downloadports-ca4063eab14a9ac4b3a67e9d50068802a2902e85.tar.gz
ports-ca4063eab14a9ac4b3a67e9d50068802a2902e85.zip
Notes
Diffstat (limited to 'mail/gld')
-rw-r--r--mail/gld/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/gld/Makefile b/mail/gld/Makefile
index 416ae8be3dce..02a358ccd3da 100644
--- a/mail/gld/Makefile
+++ b/mail/gld/Makefile
@@ -43,6 +43,10 @@ CONFIGURE_ARGS+= --with-pgsql=${PREFIX}
USE_PGSQL= yes
.endif
+post-patch:
+ ${REINPLACE_CMD} -e 's|\(@CC@\ \)-O2|\1${CFLAGS}|' \
+ ${WRKSRC}/Makefile.in
+
pre-build:
${REINPLACE_CMD} -e 's,"/etc/gld.conf","${PREFIX}/etc/gld.conf",' ${WRKSRC}/gld.h
for f in gld.sh MESSAGE; do \