aboutsummaryrefslogtreecommitdiffstats
path: root/mail/gld
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2005-10-16 00:53:11 +0800
committerehaupt <ehaupt@FreeBSD.org>2005-10-16 00:53:11 +0800
commitaeaa10430c5c0034bc65642cdd0dee00204ad856 (patch)
treef308b5717868e65349dc3be1dae2b59d6860bde2 /mail/gld
parentec96e99a947eefa0ed253d599b568a54c0041864 (diff)
downloadfreebsd-ports-gnome-aeaa10430c5c0034bc65642cdd0dee00204ad856.tar.gz
freebsd-ports-gnome-aeaa10430c5c0034bc65642cdd0dee00204ad856.tar.zst
freebsd-ports-gnome-aeaa10430c5c0034bc65642cdd0dee00204ad856.zip
- Make port respect CFLAGS
Approved by: novel (mentor) (implicit)
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 \